- Timestamp:
- 2024-05-31T21:56:16+02:00 (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/Utils.java
r19092 r19093 2093 2093 if (m.matches()) { 2094 2094 /* NOTE: we assume -a'b" means -(a'+b") and not (-a')+b" - because of such issues SI units have been invented 2095 and have been ad apted by the majority of the world */2095 and have been adopted by the majority of the world */ 2096 2096 return (Double.valueOf(m.group(2))*0.3048+Double.valueOf(m.group(4))*0.0254)*(m.group(1).isEmpty()?1.0:-1.0); 2097 2097 }
Note:
See TracChangeset
for help on using the changeset viewer.