fix: toFixed number from formatting function

This commit is contained in:
RadoslavDimchev 2023-09-15 18:18:53 +03:00
parent 07900172e7
commit acb6b36649
1 changed files with 1 additions and 1 deletions

View File

@ -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, ',')
}