Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- amount.with(MonetaryOperators.majorPart()); //Get non fractional numbers
- amount.with(MonetaryOperators.minorPart()); //Ger fractional numbers
- amount.with(MonetaryOperators.percent(50)); //50% of the value
Add Comment
Please, Sign In to add comment