4 ms·
The values are probably stored in float, which is ridiculous.
by Walkman 12y ago
The values are probably stored in float, which is ridiculous.
- hackerweb 12y agoThis confused me as well. Stellars are stored in fixed point, as millionths of a stellar. But there's a tiny anti-spam fee for each payment transaction, so if you've sent money somewhere you may find an extra 0.000010 gone.
- jonny_eh 12y agoA better way to phrase what you just did: Maybe the values are stored as a float? But that would be silly, so there must be a better reason.
- mingabunga 12y agoFrom FAQs: To prevent spam, each transaction burns 10 microstellars (that is, 0.00001 stellars).
- hyperliner 12y agoJust for fun: http://stackoverflow.com/questions/2100490/floating-point-inaccuracy-examples http://stackoverflow.com/questions/2100490/floating-point-in...