To use this website fully, you first need to accept the use of cookies. By agreeing to the use of cookies you consent to the use of functional cookies. For more information read this page.

Official ZPE/YASS documentationround

round (real value[, integer decimal_places]) ⇒ integer

Rounds a number up or down to the closest full number.

First available: Version 1.3.1


Version 1.9.11 (Earlston, November 2021) added the optional second parameter which can limit a round down to a certain number of decimal places.

Code previewClose
Feedback 👍
Comments are sent via email to me.