⚙️ Augmentation de la précision des valeurs dans l'explication

pull/510/head
Mael 2019-04-02 16:45:41 +02:00 committed by Johan Girod
parent 4ff89770ff
commit acb30ca425
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ let treatValue = (data, language) =>
export let formatNumber = (data, language) =>
!isNaN(data)
? Intl.NumberFormat(language, { maximumFractionDigits: 2 }).format(data)
? Intl.NumberFormat(language, { maximumFractionDigits: 4 }).format(data)
: data
export let NodeValue = withLanguage(({ data, language }) => (