CurrencyExtensions extension
- on
Methods
-
applyDiscount(
double percent) → double -
Available on num, provided by the CurrencyExtensions extension
-
discountAmount(
double percent) → double -
Available on num, provided by the CurrencyExtensions extension
-
isCheaperThan(
num other) → bool -
Available on num, provided by the CurrencyExtensions extension
-
isInBudget(
num budget) → bool -
Available on num, provided by the CurrencyExtensions extension
-
isMoreExpensiveThan(
num other) → bool -
Available on num, provided by the CurrencyExtensions extension
-
toCompactCurrency(
String currency) → String -
Available on num, provided by the CurrencyExtensions extension
-
toCurrency(
String currency, {bool symbolAtEnd = false, int decimalPlaces = 2, String thousandSeparator = '.', String decimalSeparator = ','}) → String -
Available on num, provided by the CurrencyExtensions extension
-
withoutVat(
{double rate = 0.20}) → double -
Available on num, provided by the CurrencyExtensions extension
-
withVat(
{double rate = 0.20}) → double -
Available on num, provided by the CurrencyExtensions extension
Static Methods
-
symbolOf(
String currency) → String -
Available on num, provided by the CurrencyExtensions extension