float
float($data
, mode_us
= False )
: Float
$data.float(
mode_us
= False )
: Float
Parameters
$data
String | List | Dict | Int | Float | Boolean
mode_us
Boolean
If set to True
, then commas are interpreted as thousands separators.
See also
Examples
How to extract a price (Float) from a String