Mo

Removing number_format from DBCurrency would be great, basically I have had to work around the facy that DBCurrency is not great in most of my code!

Mo

@robbieaverill I don't think so. I am using NumberFormatter which should format currencies correctly and is used in DBMoney

Mo

Sometimes the workaround is the solution...

Mo

@Nemanja Karadzic Maybe as an interim create a controller that matches unmatched URLs and just set the index method to return $this->httpError()?

Mo

I did consider doing what you suggest, but I had already done it the other way and couldn't be bothered to change it!

Mo

Na, I have a lot of code to carve up, unfortunately that takes precedence 🤨

Mo

I did it the other way round to be honest and stripped it out 😛

Mo

makes sense for a currency as you don't want the symbol moving onto a new line

Mo

$format = str_replace("\xc2\xa0", ' ', $formatter->formatCurrency(16.66, "EUR")); Seems to fix it