assume there r two float no.
lat1=1300.1252;
lat2=1302.2546;
After subtracting, the result obtained must be converted to int, which is easily possible by multiplying with pow(10,4),if I get result as 0.2345,what if I get result as 3,8675?
I am writing a c code on data compression algorithm to convert float to int type, can anybody help?
i agree with the other guy, however, another possibility would be dividing lat1 and the int type to obtain a lat3%26gt;0 and then... i really don't know! get a girlfriend!!!!!
Reply:My guess, typo in the code. Show the code and tell us the language.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment