From ddae8c1a37d3a23ddf59b8f25bb1f89b398e0433 Mon Sep 17 00:00:00 2001 From: Laurent Bossavit Date: Sat, 29 Jul 2017 10:45:43 +0200 Subject: [PATCH] :gear: Affiche les valeurs au centime d'euro pour faciliter le test --- source/engine/traverse-common-jsx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/engine/traverse-common-jsx.js b/source/engine/traverse-common-jsx.js index bc79be27b..e2a0ff649 100644 --- a/source/engine/traverse-common-jsx.js +++ b/source/engine/traverse-common-jsx.js @@ -7,7 +7,7 @@ import {encodeRuleName} from './rules' let treatValue = data => data == null ? '?' - : !isNaN(data) ? Math.round(+data) : data ? 'oui' : 'non' + : !isNaN(data) ? Math.round(+data*100)/100 : data ? 'oui' : 'non' let NodeValue = ({data}) => (