Hello,

Use a 32 bit integer. Multiply by some large value (e.g. 1000 to get the 3 
decimal places, etc).
You will lose the rest of the decimal, but depending on how precise you want 
your decimal value
choose your multiply value.

Thanks,
Ali

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to