Float

This data type represents decimal values. The float (floating point number) is a number with a decimal point or a number in exponential form.

Syntax

Example 1

Output:

PHP Float

Example 2

Output:

PHP Float

Example 3

Output:

PHP Float
Next TopicPHP Integer




Latest Courses