diff options
Diffstat (limited to 'src/renderHtml.tsx')
-rw-r--r-- | src/renderHtml.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderHtml.tsx b/src/renderHtml.tsx index fe6646196..c858a8842 100644 --- a/src/renderHtml.tsx +++ b/src/renderHtml.tsx @@ -25,7 +25,7 @@ import {AmountJson, Contract, Amounts} from "./types"; export function prettyAmount(amount: AmountJson) { let v = amount.value + amount.fraction / Amounts.fractionalBase; - return `${v.toFixed(2)} ${amount.currency}`; + return `${v} ${amount.currency}`; } export function renderContract(contract: Contract): JSX.Element { |