So it's one again about number separators and decimal point/comma - the very thing that makes people make factor 100 and 1000 errors when inputting numbers because a website tries to be "smart" by being "native".
The main issue is that in scripting (which was my point!) numbers are ALWAYS without separators (well until recently where '_' was added as an allowed separator; unnecessary if you ask me) and ALWAYS have a decimal point (not comma or colon or what not).If people want to display it in a different format, then there is already a function for that too to display it as a localized string.
What the "new" spec asks for is to read back this output-only opaque formatted string back into something that can be further processed by JS, and in that case having some unified way of parsing a localized number format into a field array will potentially be useful. Still won't help with people inputting unexpected things though, and xe.com with this functionality in place still doesn't localize the input so it becomes error-prone. They only seem to use it for displaying the currency symbol in the input field.
Also, by the way, this way of formatting then reverse-parsing display strings is incredibly slow.
xe.com cannot convert currency
Moderator: trava90
Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.
Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.
Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
- Clear any current output
- Navigate or refresh the page in question
- Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
Re: xe.com cannot convert currency
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: xe.com cannot convert currency
The form fields don't even load for me - they remain blank and unresponsive when I click them. I'm on Manjaro KDE.