PHP 对比 float 型

if (abs($dem)=== 0.00){
//true
}

参考链接:http://php.net/manual/en/language.types.float.php

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注