- Web Studio Help
- Appendix: Built-in Scripting Language
- Arithmetic functions
Arithmetic functions
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
This function returns the dividend of two whole numbers. - 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.
Parent topic: Appendix: Built-in Scripting Language
InduSoft Web Studio -Technical Reference