We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2441b75 commit 4b13d8bCopy full SHA for 4b13d8b
src/components/ui/Colorbar.tsx
@@ -39,7 +39,7 @@ const operationMap = {
39
};
40
41
function Num2String(value: number){
42
- if (Math.abs(value) > 1e3 && Math.abs(value) < 1e6 || value === 0){
+ if ((Math.abs(value) > 1e-3 && Math.abs(value) < 1e6) || value === 0){
43
return value.toFixed(2)
44
} else{
45
return value.toExponential(2)
0 commit comments