float
- float(fs[, number_of_bits])
Returns a
Fieldset
with integer data converted into floating point data for more accurate computations.- Parameters
fs (
Fieldset
) – input fieldsetnumber_of_bits (number) – defines the number of bits used for packing the float values. If not given, the default value of 24 is used (unless
gribsetbits()
has been called to set it).
- Return type