Arithmetic Functions


a=20
b=35
c=a+b
?c
Ans : 66
This will return the value of c 66 after adding two variables.

? pi()
This will return the pi value.

Suppose 
a=8343.999

?int(a)
This will return the integer part of the value.
Ans: 8343

?round(a,2)
This will reduce the decimal places of the value to the 2 digits.
Ans :8343.99

?sin(a)
This will return the sin value of a.

?cos(a)
This will return the cos value of a.

?tan(a)
This will return the tan value of a.