This function does not constrain values to the ranges because out-of-range values are sometimes intended and useful. If you need to limit a range you can use the Mathclamp function before or after calling this function. Math-clamp alternatives and similar modules Based on the Math category.
In JavaScript we can do this with the following.
A number that specifies the value to map. ClampUInt32 UInt32 UInt32 Restituisce il valore value fissato allintervallo inclusivo di min e max. This function does not constrain values to the ranges because out-of-range values are sometimes intended and useful. A tiny math library for nodejs JavaScript on browser Code Quality Rankings and insights are calculated and provided by Lumnify.