CORENUMBEROPS
Use this function library perform numeric operations such as addition, subtraction etc.
This section provides a list of functions in the library, along with the usage details.
getSumOfTwoNumbers
Gets the sum of two input numbers specified in the value 1 and value 2 columns and stores the output into a global variable specified in the Output Variable Name column.
Usage:
getSumOfTwoNumbers(String number1, String number2)
getSumOfTwoNumbers ("3", "5")
 
Input Parameters:
number1: The first number
number2: The second number to be added to number1
 
Return Type: String
getDiffOfTwoNumbers
Gets the difference of two input numbers specified in the value 1 and value 2 columns and stores the output into a global variable specified in the Output Variable Name column.
Usage:
getDiffOfTwoNumbers(String number1, String number2)
getDiffOfTwoNumbers ("3", "5")
 
Input Parameters:
number1: The first number
number2: The second number to be subtracted from number1
 
Return Type: String
getProductOfTwoNumbers
Gets the product of two input numbers specified in the value 1 & value 2 columns and stores the output into a global variable specified in the Output Variable Name column.
Usage:
getProductOfTwoNumbers(String number1, String number2)
getProductOfTwoNumbers ("3", "5")
 
Input Parameters:
number1: The first number
number2: The second number to be multiplied with number1
 
Return Type: String
getModOfTwoNumbers
Gets the modulus of two input numbers specified in the value 1 & value 2 columns and stores the output into a global variable specified in the Output Variable Name column.
Usage:
getModulusOfTwoNumbers(String number1, String number2)
getModulusOfTwoNumbers ("3", "5")
 
Input Parameters:
number1: The first number
number2: The second number to be used as a divisor for the first number
 
Return Type: String
getDivisionOfTwoNumbers
Gets the quotient of the division of of input numbers specified in the value 1 & value 2 columns and stores the content as byte array into a global variable specified in the Output Variable Name column.
Usage:
getDivisionOfTwoNumbers(String number1, String number2)
getDivisionOfTwoNumbers ("3", "5")
 
Input Parameters:
number1: The first number
number2: The second number to be used as a divisor for the first number
 
Return Type: String
getMaxOfTwoNumbers
Gets the maximum value among two input numbers specified in the value 1 & value 2 columns and stores the output into a global variable specified in the Output Variable Name column.
Usage:
getMaxOfTwoNumbers(String number1, String number2)
getMaxOfTwoNumbers ("3", "5")
 
Input Parameters:
number1: The first number
number2: The second number to be compared to the first to determine the maximum of two numbers.
 
Return Type: String
getMinOfTwoNumbers
Gets the minimum value among two input numbers specified in the value 1 & value 2 columns and stores the output into a global variable specified in the Output Variable Name column.
Usage:
getMinOfTwoNumbers(String number1, String number2)
getMinOfTwoNumbers ("3", "5")
 
Input Parameters:
number1: The first number
number2: The second number to be compared to the first to determine the minimum of two numbers.
 
Return Type: String
getAbsoluteOfNumber
Gets the absolute value of the number specified in the value 1 column and stores the output into a global variable specified in the Output Variable Name column.
Usage:
getAbsoluteOfNumber(String number1)
getAbsoluteOfNumber ("3.754")
 
Input Parameters:
number1: The number whose absolute value needs to be determined.
 
Return Type: String