AxStringHelper
in package
Table of Contents
Methods
- floatToString() : string
- Safely casts a float to string independent of the current locale.
Methods
floatToString()
Safely casts a float to string independent of the current locale.
public
static floatToString(float|int $number) : string
The decimal separator will always be .
.
Parameters
- $number : float|int
-
a floating point number or integer.
Return values
string —the string representation of the number.