File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 16
16
{ precision : 1 / 3600 , text : 'to an arcsecond' } ,
17
17
{ precision : 1 / 36000 , text : 'to 1/10 of an arcsecond' } ,
18
18
{ precision : 1 / 360000 , text : 'to 1/100 of an arcsecond' } ,
19
- { precision : 1 / 3600000 , text : 'to 1/1000 of an arcsecond' }
19
+ { precision : 1 / 3600000 , text : 'to 1/1000 of an arcsecond' } ,
20
+ { precision : 1 / 36000000 , text : '1/10000\'' }
20
21
] ,
21
22
format : 'decimal'
22
23
} ;
152
153
// Figure out if the precision is very close to a precision that can be expressed with a
153
154
// string:
154
155
for ( var i in combinedOptions . precisionTexts ) {
155
- if ( Math . abs ( precision - combinedOptions . precisionTexts [ i ] . precision ) < 0.0000001 ) {
156
+ if ( Math . abs ( precision - combinedOptions . precisionTexts [ i ] . precision ) < 0.000000000001 ) {
156
157
precisionText = combinedOptions . precisionTexts [ i ] . text ;
158
+ break ;
157
159
}
158
160
}
159
161
You can’t perform that action at this time.
0 commit comments