if((round(($money)*100,2)/100 - round(($nowmoney)*100,2)/100)>0){ //For the subtraction of floating-point numbers, first convert the round to the same type of decimal place and then perform the subtraction. }
php double type floating point subtraction
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=324686333&siteId=291194637
Recommended
Ranking