truncate Gauge percentage to 2 decimal places

This commit is contained in:
Alex Holliday
2024-11-19 15:28:57 +08:00
parent 5a2c6a9aa7
commit 9e7e13baea
@@ -92,7 +92,7 @@ const CustomGauge = ({
fill: theme.typography.body2.color,
}}
>
{`${progress}%`}
{`${progress.toFixed(2)}%`}
</Typography>
</Box>
);