281 of 307
ZBasic System Library 271 ZX Microcontroller Family Tan Type Function returning Single Invocation Tan(arg) Parameter Method Type Description arg ByVal Single The angle, in radians, of which the tangent will be computed. Discussion The return value will be the tangent of the supplied value. Note that the Tan() function may return positive or negative infinity values. Example Const pi as Single = 3.14159 Dim val as Single val = Tan(pi / 4.0) ' result is approximately 1.0 See Also Atn, Atn2,