removeFloatingCharactersUnnecessary static method
Implementation
static String removeFloatingCharactersUnnecessary(double doubleValue) {
var source = num.parse(doubleValue.toString())
.toString()
.replaceAll(RegExp(r"([.]*0)(?!.*\d)"), '');
return source;
}