bareNumber to interpret -$1000 as -1000 #1000
Stephen-Gates
started this conversation in
Ideas
Replies: 2 comments
-
|
Probably should say something about only one Also what about Mmm... Starts to get tricky |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@Stephen-Gates it does get quite tricky quickly ... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The current spec doesn't support the bareNumber edge case to interpret
-$1000as-1000.Reword the spec to handle this (changes in bold)...
bareNumber: a boolean field with a default of
true. Iftruethe physical contents of this field must follow the formatting constraints already set out. Iffalsethe contents of this field may contain leading and/or trailing non-numeric characters (which implementors MUST therefore strip) unless the non-numeric character is-or+. The purpose ofbareNumberis to allow publishers to publish numeric data that contains trailing characters such as percentages e.g.95%or leading characters such as currencies e.g.€95,EUR 95,-AUD$100, or¥-100. Note that it is entirely up to implementors what, if anything, they do with stripped text.Beta Was this translation helpful? Give feedback.
All reactions