+ flutter dart number format zero stackoverflow.comHow 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 8 months ago | tweet Add comment Do you want to delete? YesNo