spec

Software for Diffraction

2.4.5.4. - Conversion Functions



asc(s)
Returns the ASCII value of the first character of the string value of the argument.

bcd(x)
Returns a 24-bit integer that is the binary-coded decimal representation of the nonnegative integer x.

dcb(x)
Returns the nonnegative integer corresponding to the 24-bit binary-coded decimal representation x.


deg(x)
Returns the argument converted from radians to degrees.

rad(x)
Returns the argument converted from degrees to radians.