Introduction to Float

Scientific notation is supported for input and output of floating point numbers. A floating point number is written as a string of digits containing a decimal point optionally followed by the letter "E", and then the exponent. We begin by doing some calculations using arbitrary precision floats. The default precision is twenty decimal digits. A decimal base for the exponent is assumed, so the number 1.234E2 denotes 1.234*10**2 The normal arithmetic operations are available for floating point numbers.