Appendix A. CRBasic Programming Instructions
477
Round
Roundsavaluetoahigherorlowernumber.
Syntax
variable = Round (Number, Decimal)
SGN
Findsthesignvalueofanumber.
Syntax
x = SGN(source)
Sqr
Returnsthesquarerootofanumber.
Syntax
x = SQR(number)
A.6.8 Integrated Processing
DewPoint
Calculatesdewpointtemperaturefromdrybulbandrelativehumidity.
Syntax
DewPoint(Dest, Temp, RH)
PRT
CalculatestemperaturefromtheresistanceofanRTD.Thisinstructionhasbeen
supersededbyPRTCalc()inmostapplications.
Syntax
PRT(Dest, Reps, Source, Mult)
PRTCalc
CalculatestemperaturefromtheresistanceofanRTDaccordingtoarangeof
alternativestandards,includingIEC.
Syntax
PRTCalc(Dest, Reps, Source, PRTType, Mult, Offset)
SolarPosition
Calculatessolarposition
Syntax
SolarPosition(Dest, Time, UTC_OFFSET, Lat_c, Lon_c, Alt_c,
Pressure, AirTemp)
SatVP
Calculatessaturation‐vaporpressure(kPa)fromtemperature.
Syntax
SatVP(Dest, Temp)
StrainCalc
Convertstheoutputofabridge‐measurementinstructiontomicrostrain.
Syntax
StrainCalc(Dest, Reps, Source, BrZero, BrConfig, GF, v)