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

iphone math Math 函数--> is_nan()

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

is_nan()

含义:判断是否为合法数值

说明:bool is_nan(float $val)

参数:$val为要判断的值

返回值:如果 val 不是一个数字返回 TRUE,否则返回 FALSE

注:NAN代表着一个在浮点数运算中未定义或不可表述的值

以上就介绍了iphone math Math 函数--> is_nan(),包括了iphone math方面的内容,希望对PHP教程有兴趣的朋友有所帮助。

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