Str::float()
Convert the value to a float with a decimal point, no matter what the locale setting is
Str::float(string|int|float $value): string
Parameters
| Name | Type | Default |
|---|---|---|
| $value * | string|int|float |
– |
Return type
string
Convert the value to a float with a decimal point, no matter what the locale setting is
Str::float(string|int|float $value): string
| Name | Type | Default |
|---|---|---|
| $value * | string|int|float |
– |
string