Here is below a copy of help file about CosE3 function :
In CosE3, an example is given but "round_up" function doesn't exist.Ceil
Prototype sub function Ceil(dim x as float) as float
Description Function returns value of parameter num rounded up to the next whole number.
CosE3
Prototype sub function CosE3(dim x as word) as integer
Description Function takes parameter x which represents angle in degrees, and returns its cosine multiplied by 1000 and rounded up to the nearest integer:
result = round_up(cos(x)*1000)The function is implemented as a lookup table; maximum error obtained is ±1.
CosE3 example should refer to Ceil function ?