PHP is actually a small value in addition to www.zhixing123.cnphp27277.html. if we use the 'operator to perform division operations, we will get a small value if we cannot perform division operations. What if I only want to get the integer part? Multiple functions are provided in the PHP mathematical function library: 1. the round function rounds the floating point number. This should best suit everyone's needs. & Lt ;? How php implements Division
Http://www.zhixing123.cn/php/27277.html
If we use the '/' operator to perform division operations, we will get a small value if we cannot perform division operations. What if I only want to get the integer part?
Multiple functions are provided in the PHP mathematical function library:
1. the round function rounds a floating point number.. This should best suit everyone's needs.
2. ceil function, which is rounded up by a method.
3. floor, the rounding method is used to get the integer, and the fractional part is removed.