Skip to content

v0.3.2

Latest
Compare
Choose a tag to compare
@calebkleveter calebkleveter released this 23 Jan 22:32
· 2 commits to master since this release
54e8cf3

Padded Currency Values

Format money decimal values with trailing 0 characters, so there are as many fraction digits as the currency exponent number:

85.8 USD => 85.80
10 USD => 10.00
10 XXX => 10

This is because some endpoint returned validation errors if this padding wasn't there.