A float represents real numbers and is written with a decimal point dividing the integer and fractional parts. 
Difference between an int and a float
Integers and floats are two different kinds of numerical data. An integer (more commonly called an int) is a number without a decimal point. A float is a floating-point number, which means it is a number that has a decimal place. Floats are used when more precision is needed.
In PHP: You will remember PHP isn't a strictly typed language (although it can be set to be).
<?php $a = 1234.65; // decimal number $a = -1234.54; // a negative number ?>
# decimal number: a = 1234.65 # a negative number: a = -1234.65
// decimal number: var a = 1234.65; // a negative number: var a = -1234.65;
- Define the terms: variable, constant, operator, object.