Omron C200H-ASC11 Manual page 149

Ascii units
Hide thumbs Also See for C200H-ASC11:
Table of Contents

Advertisement

Details of BASIC Commands
abs
(<numerical expression>)
Syntax:
ABS
Description:
Function. Calculates the absolute value of a numerical expression.
Remarks:
<numerical expression> may be any short or long integer, single-precision floating point or double-
precision floating-point expression. The range of the input argument, and therefore the output is
equivalent to the allowable range of a double precision floating point.
The return type is the same as that of the argument.
> 10 A = -4
Examples:
> 20 PRINT ABS(A)
> RUN
4
See also:
acos
Syntax:
ACOS
Description:
Function. Calculates the arc cosine of a numerical expression.
Remarks:
<numerical expression> may be any integer, single-precision floating point or double-precision
floating-point expression. The valid range for the input is [-1, 1].
The return type is single-precision floating point if the argument is of type integer or single-
precision floating point. If the argument is of type double-precision floating point then the return
type is also double precision floating point. The return value is in radians and will be in the range
[0, π]
Examples:
> 10 A = 0.4
> 20 PRINT ACOS(A)
> RUN
1.15928
See also:
ASIN
140
(<numerical expression>)
,
ATN
7-6
Section

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200h-asc21C200h-asc31

Table of Contents