+ flutter dart number format zero How to remove trailing zeros using Dart I would like the optimal solution for removing trailing zeros using Dart. If I have a double that is 12.0 it should output 12. If I have a double that is 12.5 it should output 12.5 wono | tweet Add comment Do you want to delete? YesNo