Ahk Functions Math
Math functions quick reference.
Ahk functions math. Returns the absolute value of number. Floor rounding down. For example swap a index i stores the value of a index in i but the value assigned to left is discarded once the swap function returns. Returns a number rounded up to the nearest integer.
Returns the absolute value of a number. We ll evaluate graph analyze and create various types of functions. For example ceil 1 2 is 2 and ceil 1 2 is 1. The return value is the same type as number integer or floating point.
Mod remainder after division modulo round rounding. Log decimal logarithm. Abs absolute value. Ln natural logarithm.
Returns e raised to the nth power. If something other than a modifiable variable is passed to a byref parameter the function behaves as though the keyword byref is absent. Math functions generally return a blank value empty string if any of the incoming parameters are non numeric. Sqrt square root.
Returns number rounded up to the nearest integer without any 00 suffix. Functions for performing various mathematical operations such as rounding exponentiation squaring etc. For example after typing the character string 345 5673 and hitting the key a match occurs. In this unit we learn about functions which are mathematical entities that assign unique outputs to given inputs.
Ceil rounding up. Autohotkey uses these for calculating the sum in the percent subroutine. Returns a number rounded down to the nearest integer.