This question has already been answered:

Hello Is it possible to round up with jquery let's say 7.6545454 to 8? thank.

Reported as a duplicate by mymedia , freim , LFC , Yuriy SPb March 22 at 1:42 pm .

A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .

    2 answers 2

    jQuery and rounding numbers ???? )))

    Code (round A, leaving 3 decimal places)

    Math.round(А).toFixed(3) 

      Math.round ()