Hello !
When I try to cast
$value = floatval('14,5833');
to a float
type I expect a value with dot like 14.5833
but it returns me 14,5833
.
How should I do this ?
I wouldn't like to use any string replace functions.
Hello !
When I try to cast
$value = floatval('14,5833');
to a float
type I expect a value with dot like 14.5833
but it returns me 14,5833
.
How should I do this ?
I wouldn't like to use any string replace functions.
You have two options: