The original algorithm[1] comes from people working at a French university. In France we put the currency directly after the amount, without space : 1€.
[1]: https://gery.casiez.net/1euro/