Article From:https://www.cnblogs.com/Goraidh/p/9034466.html

Mathceil,floor,roundceilMath.ceil(11.3)12,Math.ceil(-11.3)-11 >;

floorMath.floor(11.6)11,Math.floor(-11.6)-12 >;

” method, it expresses four RMS and five entry algorithm forMath.floor(x+0.5)0.5Math.round(11.5)12,Math.round(-11.5)-11“.

Leave a Reply

Your email address will not be published. Required fields are marked *