MATH FUNCTIONS
MATH FUNCTIONS:-
INT() - Converts to int, Removes Decimals ,
SalaryInt = INT(Emp[Salary])
CURRENCY():- CONVERTS INTO MONEY ,
SalesAmount = CURRENCY(sales[SalesAmount])
ROUND() - It rounds the number to the given number of digits.
If the decimal point is >=5 it will round to next value or else previous value.
RoundSalary = ROUND(Emp[Salary],0) ---> 0 - Number of decimals.
ROUNDUP() - It will always round to the next value.
ROUNDDOWN()- It will always round to the Previous value.
DIVIDE():-DIVIDE(Numerator/Denominator,[AlternateResult]) AnyValue/0 =Infinity - Intead I
want to use 0 /AlternateValue
If you do not give zero then shows null.
EVEN()-Round up the number to next even nearest integer.
ODD()-Round up the number to next odd nearest integer.
POWER() - POWER(2,2)-4 ,POWER(3,2)-9
SQRT() - Square root of a number.
FACTORIAL()- FACTORIAL(5) - 5*4*3*2*1
SIGN()- Returns 1 if number is positive.
Returns 0 if number is o.
Returns -1 if number is negative.
Used to show the number of profit,loss and 0 orders.
1
Page
THARUN CHALLA 1