Real functions take arguments with a Single or Double real type and return a result with the same type. The result cannot be implicitly cast to an integer. You can use an explicit integer type cast.
acos(Single) inverse cosine measured in radians acos(Double) acosh(Single) inverse hyperbolic cosine acosh(Double) asin(Single) inverse sine measured in radians asin(Double) asinh(Single) inverse hyperbolic sine asinh(Double) atan(Single) inverse tangent measured in radians atan(Double) atan(Single, Single) inverse tangent of the first atan(Double, Double) argument (y) divided by the second (x) atanh(Single) inverse hyperbolic tangent atanh(Double) ceiling(Single) integer greater or equal to the argument ceiling(Double) cos(Single) cosine of an angle measured in radians cos(Double) cosh(Single) hyperbolic cosine cosh(Double) exp(Single) e raised to the power of the argument exp(Double) Fault: Overflow floor(Single) integer lower or equal to the argument floor(Double) Dor positive numbers this is the same as: integer(R) integer(Single) truncated integer part of the argument integer(Double) round(Single) rounded integer part of the argument round(Double) sin(Single) sine of an angle measured in radians sin(Double) sinh(Single) hyperbolic sine sinh(Double) tan(Single) tangent of an angle measured in radians tan(Double) tanh(Single) hyperbolic tangent tanh(Double)