SigServer:SignatureMath: Difference between revisions

From AniDB
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


=== Mathematical ===
=== Mathematical ===
==== abs ====
  ''number'' abs(''number'' value);
  ''number'' abs(''number'' value);
Returns the absolute value of a number
Returns the absolute value of a number

Revision as of 18:01, 2 December 2007

Function Reference

Mathematical

abs

number abs(number value);

Returns the absolute value of a number

Example

abs(1);  // Returns 1
abs(-1); // Returns 1