It returns "," instead of "." as decimal in some locales. This causes havoc in CSS for positioning as CSS doesn't understand the comma as decimal separator.
AFAIK there's no easy way around this, so I fixed this via a str_replace. This should not cause any breaking changes.
There's an issue with floatval and locales.
It returns "," instead of "." as decimal in some locales. This causes havoc in CSS for positioning as CSS doesn't understand the comma as decimal separator.
AFAIK there's no easy way around this, so I fixed this via a str_replace. This should not cause any breaking changes.