Guest User

Untitled

a guest
Jul 17th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. amount.with(MonetaryOperators.majorPart()); //Get non fractional numbers
  2. amount.with(MonetaryOperators.minorPart()); //Ger fractional numbers
  3. amount.with(MonetaryOperators.percent(50)); //50% of the value
Add Comment
Please, Sign In to add comment