Skip to content

Commit 3aa1664

Browse files
committed
round radius to 2 decimal points
1 parent 5eb3ba4 commit 3aa1664

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/InputSwitch/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const InputSwitch = (props: InputSwitchProps): JSX.Element => {
4949
}
5050
if (typeof value == "number") {
5151
value = value * conversion;
52-
value = Number(value.toFixed(4));
52+
value = Number(value.toFixed(2));
5353
}
5454
return value;
5555
}, [getCurrentValue, id, min, conversion, dataType]);

0 commit comments

Comments
 (0)