obspy.io.stationxml.core._float_to_str

_float_to_str(x)[source]

Converts a float to str making. For most numbers this results in a decimal representation (for xs:decimal) while for very large or very small numbers this results in an exponential representation suitable for xs:float and xs:double.