Last Updated: Jun 6, 2020
Absolute value of a number
Syntax
Absolute value(number)
Sample
Parameter Details
Input Parameter Name | Description |
---|---|
number | an integer value Percentage |
Syntax
percentage(outof,total)
Sample
Parameter Details
Input Parameter Name | Description |
---|---|
outof | outof value to calculate percentage |
total | total value to calculate percentage |
To find factorial of a number
Syntax
Factorial(number)
Sample
Parameter Details
Input Parameter Name | Description |
---|---|
number | an integer value |
To find the loss percentage eg.lossPercentage(loss, costprice)
Syntax
lossPercentage(loss, costprice)
Sample
Parameter Details
Input Parameter Name | Description |
---|---|
Costprice | Costprice value to find the loss percentage |
loss | Loss value to find the loss percentage |
To find the loss percentage eg.lossPercentage(loss, costprice)
Syntax
ProfitPercentage(Profit, costprice)
Sample
Parameter Details
Input Parameter Name | Description |
---|---|
Costprice | Costprice value to find the Profit percentage |
loss | Loss value to find the Profit percentage |
To find the discount in percentage.
Syntax
DiscountPercentage(discount, costprice)
Sample
Parameter Details
Input Parameter Name | Description |
---|---|
Costprice | Costprice value to find the discount percentage |
discount | discount value to find the discount percentage |
Create Random Number within a given range.
Syntax
Random Number Generator(start,end)
Sample
Parameter Details
Input Parameter Name | Description |
---|---|
Start | Start Range Value |
End | End Range Value |
To add two Variables
Syntax
Add(num_1,num_2)
Sample
Parameter Details
Input Parameter Name | Description |
---|---|
num_1 | integer value |
num_2 | integer value |
To Subtract two Variables
Syntax
Subtract (num_1,num_2)
Sample
Parameter Details
Input Parameter Name | Description |
---|---|
num_1 | integer value |
num_2 | integer value |