aboutsummaryrefslogtreecommitdiff
path: root/src/amounts.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/amounts.ts')
-rw-r--r--src/amounts.ts8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/amounts.ts b/src/amounts.ts
index 280cd636c..1aefe07e1 100644
--- a/src/amounts.ts
+++ b/src/amounts.ts
@@ -265,14 +265,6 @@ export function parseOrThrow(s: string): AmountJson {
/**
- * Convert the amount to a float.
- */
-export function toFloat(a: AmountJson): number {
- return a.value + (a.fraction / fractionalBase);
-}
-
-
-/**
* Convert a float to a Taler amount.
* Loss of precision possible.
*/