Home  >  Article  >  Backend Development  >  iphone math Math function --> is_nan()

is_nan()

-->

iphone math Math function --> is_nan()

WBOY
WBOYOriginal
2016-07-28 08:30:111346browse

is_nan()

Meaning: Determine whether it is a legal value

Description: bool is_nan(float $val)

Parameter: $val is the value to be judged

Return value: Ifval 不是一个数字返回 TRUE, otherwise return FALSE

Note: NAN represents an undefined or unexpressible value in floating point operations

The above introduces the iphone math Math function --> is_nan(), including the content of iphone math. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn