Which is the deeper truth? Don't use..
-
-
Replying to @mfeathers @Felienne
Floats for money are fine, if done right (use cent as the base value, i.e., store $0.01 as 1.0e0). You get 53 bits of precision, and graceful overflow behaviour.
5 replies 0 retweets 0 likes -
A float is 32 bits, normally. I find it hard to believe you can cram 53 bits of precision in there...
1 reply 0 retweets 0 likes
Use a double, obviously.
7:29 AM - 23 Oct 2018
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.