__float__¶
- array.__float__() float¶
Converts a zero-dimensional floating-point array to a Python
floatobject.- Parameters:
self (array) – zero-dimensional array instance. Must have a floating-point data type.
- Returns:
out (float) – a Python
floatobject representing the single element of the array instance.