... are a few more procedures I would like to see
Sgn - return the sign of a number
Wrap - Wrap a number between two ranges
Contrain - Make sure a number cant exceed two ranges
Sgn, Wrap and Constrain...
-
- Posts: 35
- Joined: Wed Mar 26, 2014 5:47 pm
Re: Sgn, Wrap and Constrain...
We already have sgn
Result.f = Sign(Number.f)
Returns a floating-point value representing the sign of the given number.
- Returns 0 if Number is zero.
- Returns 1 if Number is positive.
- Returns -1 if Number is negative.
Re: Sgn, Wrap and Constrain...
Was wondering why I couldn't find that...
Also Min and Max would be useful...
Also Min and Max would be useful...