Last modified: 2013-11-20 13:47:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T58686, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56686 - Use exponent notation for identifying the last significant digit in a QuantityValue
Use exponent notation for identifying the last significant digit in a Quantit...
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
quantityvalue
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-06 19:34 UTC by Daniel Kinzler
Modified: 2013-11-20 13:47 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Kinzler 2013-11-06 19:34:41 UTC
QuantityValue currently uses absolute string position to indicate the last significant digit in the decimal. This is annoying because the number of significant digits of two decimals are not comparable (they are influenced by the number of digits before the decimal point). Using an exponent to indicate the digit would be much more handy: -1 would be the first digit after the decimal point, 0 the first before the decimal point, and so on. DecimalMath should use the same for rounding.
Comment 1 Gerrit Notification Bot 2013-11-08 17:33:23 UTC
Change 94385 had a related patch set uploaded by Daniel Kinzler:
(bug #56686) Use exponent to represent sig digits

https://gerrit.wikimedia.org/r/94385
Comment 2 Gerrit Notification Bot 2013-11-12 14:25:11 UTC
Change 94385 merged by Jeroen De Dauw:
(bug #56686) Use exponent to represent sig digits

https://gerrit.wikimedia.org/r/94385
Comment 3 abraham.taherivand 2013-11-20 13:47:40 UTC
Verified in Wikidata demo time.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links