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 documentationlimit_real

limit_real (real value, real min, real max) ⇒ real

Forces a number to be within the range of the min and max value. If the number is within the range, it will return the number, otherwise if it is less than min it will return min or if it is greater than the max value it will return max.

First available: Version
Code previewClose
Feedback 👍
Comments are sent via email to me.