[Method] Checks whether or not the passed number is within a desired range
Number The number to check
Number The minimum number in the range
Number The maximum number in the range
number
Number The constrained value if outside the range, otherwise the current value
[Method] Validate that a value is numeric and convert it to a number if necessary
Object
Number The value to return if the original value is non-numeric
number
Number value, if numeric, defaultValue otherwise
[Method] Snaps the passed number between stopping points based upon a passed increment value
Number The unsnapped value.
Number The increment by which the value must move.
Number The minimum value to which the returned value must be constrained. Overrides the increment..
Number The maximum value to which the returned value must be constrained. Overrides the increment..
number
Number The value of the nearest snap target.
[Method] Formats a number using fixed point notation
Number The number to format
Number The number of digits to show after the decimal point