DBCurrency would be great, basically I have had to work around the facy that
DBCurrency is not great in most of my code!
@robbieaverill I don't think so. I am using
NumberFormatter which should format currencies correctly and is used in
Sometimes the workaround is the solution...
@Nemanja Karadzic Maybe as an interim create a controller that matches unmatched URLs and just set the index method to return
I did consider doing what you suggest, but I had already done it the other way and couldn't be bothered to change it!
I did it the other way round to be honest and stripped it out 😛
makes sense for a currency as you don't want the symbol moving onto a new line
Apparently it is a non-breaking space
$format = str_replace("\xc2\xa0", ' ', $formatter->formatCurrency(16.66, "EUR")); Seems to fix it
Someone has commented on this by the look of it: https://www.php.net/manual/en/numberformatter.formatcurrency.php#118304