Skip to content

Commit 4b13d8b

Browse files
committed
another missed minus sign
1 parent 2441b75 commit 4b13d8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ui/Colorbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const operationMap = {
3939
};
4040

4141
function Num2String(value: number){
42-
if (Math.abs(value) > 1e3 && Math.abs(value) < 1e6 || value === 0){
42+
if ((Math.abs(value) > 1e-3 && Math.abs(value) < 1e6) || value === 0){
4343
return value.toFixed(2)
4444
} else{
4545
return value.toExponential(2)

0 commit comments

Comments
 (0)