⚙️ Affiche les valeurs au centime d'euro pour faciliter le test

pull/25/head
Laurent Bossavit 2017-07-29 10:45:43 +02:00
parent 63a1431d85
commit ddae8c1a37
1 changed files with 1 additions and 1 deletions

View File

@ -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}) => (
<span className={'situationValue ' + treatValue(data)}>