PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<is_doubleis_int>
Last updated: Mon, 16 Jul 2012

is_float

(PHP 3, PHP 4, PHP 5)

is_float -- 检测变量是否是浮点型

描述

bool is_float ( mixed var )

如果 varfloat 则返回 TRUE,否则返回 FALSE

注: 若想测试一个变量是否是数字或数字字符串(如表单输入,它们通常为字符串),必须使用 is_numeric()

参见 is_bool()is_int()is_integer()is_numeric()is_string()is_array()is_object()




<is_doubleis_int>
 Last updated: Mon, 16 Jul 2012
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST