getPriceString function
Implementation
String getPriceString(double price){
if (!init)
return "not init";
if (!rightSymbol)
return "$symbol${price.toStringAsFixed(digitsAfterComma)}";
return "${price.toStringAsFixed(digitsAfterComma)}$symbol";
}