These functions are used to perform advanced arithmetic operations and bit manipulation on numeric values.

**Abs**

Abs is a built-in scripting function that gets the absolute value of a specified numeric value.**Div**

Div is a built-in scripting function that gets the dividend of two specified numeric values.**Format**

Format is a built-in scripting function that formats a numerical value and returns it as a string.**GetBit**

GetBit is a built-in scripting function that gets the value of a single bit in a numeric value.**Mod**

Mod is a built-in scripting function that gets the remainder from a division operation.**Pow**

Pow is a built-in scripting function that gets the result of raising a numeric value to a specified exponent.**ResetBit**

Resets a single bit in an Integer tag to 0.**Round**

Rounds`numValue`to the nearest integer.**SetBit**

Sets a single bit in an Integer tag to 1.**Sqrt**

Takes the square root of`numValue`.**Swap16**

Swaps the two lower bytes of a tag.**Swap32**

Swaps two words in a tag.**Trunc**

Truncates the value of.`numValue`

InduSoft Web Studio v7.0 Technical
Reference

Copyright © 2003–2010 Indusoft,
Inc.