From 841ca7af4408601b501731419cfd11b9d303bf1a Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 29 Jun 2019 18:12:55 +0100 Subject: [PATCH] Remove single 0 padding --- index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/index.ts b/index.ts index 62de88a..94e02ad 100644 --- a/index.ts +++ b/index.ts @@ -69,7 +69,6 @@ function writeTemplate( writeTemplate(template, value.toString() + '0', context); } if (isPrecision(value, 0)) { - writeTemplate(template, value.toString() + '.0', context); writeTemplate(template, value.toString() + '.00', context); } }