upvote
It’s not an ideal example, but later in the text it makes more sense: 5,999 is locale dependent: it can be either a thousands separator or decimal. And that makes a huge difference: is it almost 6, or almost 6000.

Edit: Your edit just now points in the same direction. :)

reply
> If something is $5.99 when someone views it in Japan it should not be rendered as ¥5.99

Heck, it probably shouldn't even be rendered as ¥960.69, or whatever the conversion is the moment you lay your eyes on it.

I find locales to be a very bad solution to a problem I'm not even sure we should have. Just give me ISO 8601 and metric units and we're all good, but the fact that currency somehow got lumped into all this is just the cherry on top of the shit sandwich.

reply