Easy Tutorial
❮ Func Zip Close Func String Echo ❯

PHP FILTER_SANITIZE_NUMBER_FLOAT Filter



Definition and Usage

The FILTER_SANITIZE_NUMBER_FLOAT filter removes all illegal characters from a float number.

This filter allows all numbers as well as + - by default.

Possible flags:


Example

The output of the code is as follows:


❮ Func Zip Close Func String Echo ❯