WLJS LogoWLJS Notebook

Round

Round[x] gives the integer closest to x.

Round[x, a] rounds to the nearest multiple of a.

Examples

Round a number:

Round[3.7]
(* 4 *)

Round[3.2]
(* 3 *)

Round to a multiple:

Round[17, 5]
(* 15 *)

Please visit the official Wolfram Language Reference for more details.

On this page