Go to: Synopsis. Return value. MEL examples.
sign
float
sign is NOT undoable, NOT queryable, and NOT editable.
Returns one of 3 possible floating point values:float | Sign of argument |
sign -42.42; // Result: -1 // sign 3.14159; // Result: 1 // sign 0; // Result: 0 //