Floating Point
Floating-point numbers are a data type used in computer programming that stores a number with a floating decimal point. A decimal point "floats" when its position is not fixed in place by the number format. For example, 3.145, 12.99, and 234.9876 are all floating-point numbers since the decimal point is not always in the same position.
A computer stores a floating-point number by breaking it into two parts. The first is called the "significand" or "mantissa," which stores the significant digits as a whole number value without a decimal point. The second is the "exponent," which modifies the magnitude of the significand by setting the position of the decimal point. Multiplying the significand by the exponent produces the final value. Some floating-point number formats use a base-10 exponent, while others use a base-2 exponent. For example, storing the number 4.7988 as a floating-point number would use the significand "47988" and the exponent 10-4.
Computer programming languages store numbers without decimal points (called integers) as a separate number format. Some languages also support fixed-point numbers, which fix the decimal point in the same place for every number — for example, currency values that always have two digits after a decimal point. Mathematical calculations using integers or fixed-point numbers are less computationally expensive, so using those options when possible is more efficient than using floating-point numbers for everything.
NOTE: Older computer CPUs like the Intel 80386 and the Motorola 68000 series lacked hardware support for floating-point operations, slowly performing them in software instead. These chips used a companion processor, called a floating point unit (FPU) or "math coprocessor," to take over floating-point operations and significantly improve performance. Modern processors include support for floating-point operations without a coprocessor.