sinkcup / dart-trim-zero

remove .0 from the end of Dart number string, give you a pretty number or price
MIT License
0 stars 0 forks source link

Feature: remove decimals 0 from the end of number string #1

Open sinkcup opened 2 months ago

sinkcup commented 2 months ago

when I display price in flutter, it was 99.0, it's no pretty!

I want change:

99.0 -> 99
0.010 -> 0.01