Page MenuHomePhabricator

Cannot enter power of ten for quantity datatype
Closed, ResolvedPublic


When trying to enter very big or small quantity values, one cannot use powers of ten to do so. I tried 5*10^-9, 5e-9 and finally 0.000000005. At the first one, I could not even click on save, for the second one I got the error "Unknown unit: e" and when I entered the number with a decimal point, it worked. However, when trying to enter -0.001004±0.000023, the last digits of both numbers are cut off.

Version: unspecified
Severity: major
Whiteboard: u=dev c=backend p=0

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:19 AM
bzimport set Reference to bz65436.
bzimport added a subscriber: Unknown Object (MLST).
Lydia_Pintscher removed a subscriber: Unknown Object (MLST).

Change 204242 had a related patch set uploaded (by Daniel Kinzler):
Fix parsing of quantities with scientific notation.

Change 204242 merged by jenkins-bot:
Fix parsing of quantities with scientific notation

daniel moved this task from Review to Done on the Wikidata-Sprint-2015-04-07 board.