mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-03-02 03:50:40 +00:00
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…
x
Reference in New Issue
Block a user