## Reference.FloatCast History

March 31, 2010, at 06:18 PM by David A. Mellis -
Changed lines 19-21 from:

Floats have only 6-7 decimal digits of precision. That means the total number of digits, not the number to the right of the decimal point. On most platforms you can get more precision by using a double. But even those have limited precision, typically 15 digits. But, on the arduino, doubles are the same size as floats.

to:

#### Notes

See the reference for float for details about the precision and limitations of floating point numbers on Arduino.

March 29, 2010, at 09:17 PM by Tom Igoe -
Changed lines 19-20 from:

NOTE: Floats have only 6-7 decimal digits of precision. That means the total number of digits, not the number to the right of the decimal point. On most platforms you can get more precision by using a double. But even those have limited precision, typically 15 digits. But, on the arduino, doubles are the same size as floats.

to:

Floats have only 6-7 decimal digits of precision. That means the total number of digits, not the number to the right of the decimal point. On most platforms you can get more precision by using a double. But even those have limited precision, typically 15 digits. But, on the arduino, doubles are the same size as floats.

March 29, 2010, at 09:15 PM by Tom Igoe -

NOTE: Floats have only 6-7 decimal digits of precision. That means the total number of digits, not the number to the right of the decimal point. On most platforms you can get more precision by using a double. But even those have limited precision, typically 15 digits. But, on the arduino, doubles are the same size as floats.

October 18, 2008, at 08:57 PM by David A. Mellis -

## float()

#### Description

Converts a value to the float data type.

float(x)

#### Parameters

x: a value of any type

float