Skip to content

Glossary: PHP Basics

float

Also written: floats

A number with a decimal point. Floats are stored in binary, so some decimals aren't exact, which is why you round before showing money.

Where the book teaches it

Related terms

integernumber_format()round()