parse_number

paminco.utils.readin.parse_number(number_str: str, to_type=<class 'float'>) list[source]

Convert number from str to to_type.

Parameters
number_strstr

Input string.

to_typedtype = float

Return type of number_str.

Returns
to_type

Input converted to_type.