Created
October 10, 2013 19:09
-
-
Save ibanezmatt13/6923779 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[19:59] <eroomde> come across atoi() yes? | |
[19:59] <ibanezmatt13> n | |
[19:59] <eroomde> yet* | |
[19:59] <ibanezmatt13> no | |
[20:00] <eroomde> google it | |
[20:00] <ibanezmatt13> ok | |
[20:01] <ibanezmatt13> So atoi() essentially just converts the string of an integer into an integer | |
[20:02] <ibanezmatt13> latitude = atoi(latitude); ? | |
[20:03] <ibanezmatt13> question is, is that really going to help with latitude as I don't want to convert that into an integer | |
[20:05] <ibanezmatt13> see you :) | |
[20:05] <eroomde> ahaha! | |
[20:06] <eroomde> 60* one bit + 60 * another bit + etc etc | |
[20:06] <eroomde> that is a bit cryptic | |
[20:06] <eroomde> but basiclaly split it up into bits, and re add them back together | |
[20:07] <ibanezmatt13> I get it | |
[20:07] <eroomde> eg the bit after the decimal point could be | |
[20:07] <ibanezmatt13> what function do i use to get it back to gether? | |
[20:07] <ibanezmatt13> and then you may escape :) | |
[20:07] <eroomde> atoi("52")+atoi(bitafterdecimalpoint)/ 100.0 | |
[20:07] <ibanezmatt13> erm, ok | |
[20:07] <eroomde> hopefully you get what i mean | |
[20:07] <ibanezmatt13> oh I get that | |
[20:07] <ibanezmatt13> yep, got it :) | |
[20:07] <ibanezmatt13> thank you | |
[20:07] <eroomde> cool | |
[20:08] <ibanezmatt13> I'll work with it | |
[20:08] <eroomde> grand | |
[20:08] <eroomde> good luck | |
[20:08] <eroomde> see you later |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment