This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ==== ABS ==== Macro that will return the absolute value === Description === <code>ABS( number )</code> Returns the absolute value of the given number. Works with both float and integer parameters. === Parameters === | ''number'' | input value | === Return value === Returns the absolute value of ''number''. === Example usage === <code javascript> new Float:x; new i; x = ABS( 123.45 ); // 123.45 i = ABS( 456 ); // 456 x = ABS( -123.45 ); // 123.45 i = ABS( -456 ); // 456 </code> ezeio2/scriptref/abs.txt Last modified: 2021-09-27 22:44by andreh Log In