float
Converts to float.
float(x: int/float) -> float
Parameters
x
int/float: A number.
Example
float(bar_index) / 2