dollars static method
Formats dollars value into currency representation.
Implementation
static String dollars(num? dollarsVal, [int decimals = 2, String symbol = "\$"]) {
if (dollarsVal == null) return "";
return cents(dollarsVal * 100, decimals, symbol);
}