PHP Numbers

In PHP, a number is a literal number NOT surrounded by quotes. Numbers can be divided into two different types: integersopen in new window (whole numbers) and floating point numbersopen in new window (decimal numbers). While these two types have their distinct characteristics, due to the way PHP handles variables, it will have little effect on your code to group these two data types together.

However, both types of numbers will be covered and the differences will be discussed.