PHP 对比 float 型
if (abs($dem)=== 0.00){
//true
}
参考链接:http://php.net/manual/en/language.types.float.php
Do things like hackers and try to make the world a better place
if (abs($dem)=== 0.00){
//true
}
参考链接:http://php.net/manual/en/language.types.float.php