Of course "$" is used as the symbol for several currencies, but its not clear if you have a better symbol in mind for the generic concept of money.
Of course "$" is used as the symbol for several currencies, but its not clear if you have a better symbol in mind for the generic concept of money.
(The idea that in Rebol one might write EUR$1.00 to denote the value that would usually be written 1.00€ is also pretty horrible)
1) Do you agree that a notation should support currency values? That is, they are useful to identify in data, as atomic units?
2) If so, do you agree there should be a single standard symbol and lexical form used to identify them? Because if we don't do that, we have to support every localized notation, correct?
3) If you agree to both of those questions, what symbol do you suggest? ¤ is generic, but not on any keyboard layout I know of. Also, see Chris's note about ASCII priority.
Finnish (/ Swedish) keyboards have ¤ on `<Shift> 4` ($ is `<Alt Gr> 4`).
With that background in mind, I imagine the scenario here you have two data in a Ren document which are both the literal $1.00, but one is actually 1.00USD and the other is actually 1.00EUR: it doesn't prevent errors (for instance, when you want to perform an operation like + on the two data), because you still don't know what the data means. You have gained very little over just using the literal 1.00 instead.
So if I were making a proposal I'd be tempted to suggest a syntax like [1.00 USD], and maybe even giving up one of the remaining sigils ^[1.00 USD] if it is important to raise to being a special element in the syntax of a Ren file. Now that you're saying what you mean, you can use the same syntax for all units: ^[1.00 kg m -2] (1 kilogram per square meter), ^[1.00 V hz -.5] (1 volt per square-root-hertz, a typical units specification of noise in opamps).
And while this may be more beneficial in your work, a lot of software does have to deal with money, where it's important not to use floating point, but BCD or something else.
US: 325,365,189
Canada: 35,151,728
Taiwan: 23,550,077
Australia: 24,688,400
Ecuador: 16,385,068
Hong Kong: 7,374,900
El salvador: 6,344,722
Singapore: 5,607,300
New Zealand: 4,826,660
Liberia: 4,503,000
Jamaica: 2,881,355
Namibia: 2,113,077
East Timor: 1,167,242
Belize: 387,879
Micronesia: 104,937
Marshal Islands: 53,066
Palau: 21,503
Caribbean Netherlands: 25,019
460,551,122 in total. Which is still less than 50% of China's 1.4B
It's easy to forget just how much bigger China is.