fix: toFixed number from formatting function
This commit is contained in:
parent
07900172e7
commit
acb6b36649
|
@ -24,5 +24,5 @@ export const convertSecondsToTimerFormat = (seconds: number) => {
|
|||
}
|
||||
|
||||
export const formatNumberForGauge = (n: number): string => {
|
||||
return n.toString().replace(/\./g, ',')
|
||||
return n.toFixed(3).replace(/\./g, ',')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue