https://bugzilla.wikimedia.org/show_bug.cgi?id=56686
Web browser: ---
Bug ID: 56686
Summary: Use exponent notation for identifying the last
significant digit in a QuantityValue
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l