Appendix A.  CRBasic Programming Instructions 
 
Syntax 
result = operand1 MOD operand2 
PWR 
Performs an exponentiation on a variable.  Same functionality as ^ operator.  See 
section Arithmetic Operators 
(p. 563). 
Syntax 
PWR(X, Y) 
RectPolar 
Converts from rectangular to polar coordinates. 
Syntax 
RectPolar(Dest, Source) 
Round 
Rounds a value to a higher or lower number. 
Syntax 
variable = Round (Number, Decimal) 
SGN 
Finds the sign value of a number. 
Syntax 
x = SGN(source) 
Sqr 
Returns the square root of a number. 
Syntax 
x = SQR(number) 
 
A.7.8  Integrated Processing 
DewPoint 
Calculates dew-point temperature (°C) from dry bulb temperature and relative 
humidity. 
Syntax 
DewPoint(Dest, Temp, RH) 
PRT 
Calculates temperature (°C) from the resistance of an RTD.  This instruction has 
been superseded by PRTCalc() in most applications. 
570