C – Floating Point

Home/C - Tutorial/C - Datatypes/C – Floating Point
C – Floating Point 2017-06-12T08:47:25+00:00

Float

Floating point numbers are numbers with a decimal point. The float type can take large floating point numbers with a small degree of precision (Precision is simply the number of decimal places to which a number can be calculated with accuracy. If a number can be calculated to three decimal places, it is said to have three significant digits.)

Memory size   : 4 bytes

Minimal range : IE-38 to IE+38 with six digit of precision

Example :

 

Output :

Value of a = 3.140000

 

Prev Next