Values of this type represent real numbers, with the usual limitations of IEEE floating point type: it cannot represent very large or very small numbers, and the precision is limited to only about 15 digits.
Functions:
float(n_s)Converts a number or string
to a floating-point number.n_s
For common transcendental functions like cosine
and exponential, see the math
module below.