danthorpe / Money

Swift value types for working with money & currency
MIT License
933 stars 91 forks source link

I can't able to display the currency like $1.00 or $100, but I can able to display currency $1.01, $100.25 like that with decimals. #89

Open SubbaNelakudhiti opened 6 years ago

SubbaNelakudhiti commented 6 years ago

Here's how I code. class statement { var amountDue: Money? } statement.amountDue = 100.00 It displays as $ in the UI Screen, but when I used statement.amountDue = 100.25 it's showing properly on UI.

My pod 'Money', '~> 4.0.0' Working on Swift 4.0.