किसी संख्या को न्यूनतम और अधिकतम मान के बीच सीमित करता है।
उदाहरण
सिंटैक्स
constrain(n, low, high)
पैरामीटर्स
n
संख्या:
बाधित करने के लिए संख्या।
low
संख्या:
न्यूनतम सीमा.
high
संख्या:
अधिकतम सीमा.
Returns
संख्या: विवश संख्या.
Notice any errors or typos? Please let us know. Please feel free to edit src/math/calculation.js and open a pull request!