From b078844c7f53ba8c674c1658ff1a64c91e11f17a Mon Sep 17 00:00:00 2001
From: Florian Dold <florian.dold@gmail.com>
Date: Thu, 17 Nov 2016 14:29:16 +0100
Subject: do not truncate amounts

---
 src/renderHtml.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/renderHtml.tsx')

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 {
-- 
cgit v1.2.3

