contents   index   previous   next



Decimal floats

 

Decimal floats use the same digits as decimal integers but allow a period to indicate a fractional part. Examples are:

 

0.32, 1.44, and 99.44

var a = 100.55 + .45;

 


Scientific floats