News for hackers. Stuff that matters.
Re:Amazon open-sources Ion – a binary and text interchangabl... by pavlov on Friday April 22, 2016 @04:13AM (#11547707)
I guess "scale" here is log10 of the multiplier used in storing "amount".

So to convert the value back into the currency range, you're supposed to compute "amount / 10^scale".

There are no comments on this comment yet.