jsr354-ri icon indicating copy to clipboard operation
jsr354-ri copied to clipboard

Give a better explanation on FastMoney internal representation

Open feinstein opened this issue 5 years ago • 2 comments

The FastMoney docs here say:

FastMoney represents numeric representation that was optimized for speed. It represents a monetary amount only as a integral number of type long, hereby using a number scale of 100'000 (10^5).

What does this number scale of 100'000 (10^5) means?

I think this should me more clear at the docs for developers not much experienced with monetary programming techniques.

feinstein avatar Dec 19 '18 20:12 feinstein

Related discussion https://stackoverflow.com/questions/50561015/java-fast-money-representation

stokito avatar Feb 17 '19 20:02 stokito

@stokito would you be able to help with that?

keilw avatar Jul 19 '20 22:07 keilw