diff options
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r-- | packages/taler-util/src/amounts.ts | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/packages/taler-util/src/amounts.ts b/packages/taler-util/src/amounts.ts index 931bc1dda..e472de503 100644 --- a/packages/taler-util/src/amounts.ts +++ b/packages/taler-util/src/amounts.ts @@ -331,13 +331,6 @@ export class Amounts { }; } - /** - * Convert a Taler amount to a float - */ - static toFloat(amount: AmountJson): number { - return amount.value + (amount.fraction / amountFractionalBase) - } - static min(a: AmountLike, b: AmountLike): AmountJson { const cr = Amounts.cmp(a, b); if (cr >= 0) { |