Go Down

Topic: String to a 64 bits double.  (Read 302 times) previous topic - next topic


Hey odometer ! and Hey crossroads.

To odometer: i need to cast a "string" (that needs a "double" to avoid bad truncation) in a "long long int" (64 bits). It's meant to be marginally truncated.

To crossroads: I've fiddled around with the library. It's actually pretty neat ! And should (modulo some ugly casting) get me out of my troubles: the principle is to use the divMod function to populate an 8-element int array. Once that's done, I can pass it as a pointer to my SPI function. and Bob's your uncle !

Thanks again !

Go Up