String Functions - Casio FX-890P Owner's Manual

Casio personal computer owner's manual
Table of Contents

Advertisement

5.8.5 String Functions

ASC
PURPOSE: Returns the character code corresponding to the character in the first
(leftmost) position of a string.
FORMAT:
ASC
(string)
String expression
EXAMPLE: ASC ("A")
PARAMETERS: String : string expression
EXPLANATION:
1. Returns the character code corresponding to a character. The character code
for the first (leftmost) character only is returned for a string of two or more
characters long.
2. A value of 0 is returned for a null string.
SEE: CHR$, Character code table page 12.
DEG
PURPOSE: Converts a sexagesimal value to a decimal value.
FORMAT:
DEG
( degrees
Numeric expression
EXAMPLE: DEG (1, 30, 10)
PARAMETERS:
1. Degrees: numeric expression in the ]-10
2. Minutes: numeric expression in the ]-10
3. Seconds: numeric expression in the ]-10
EXPLANATION: Converts the degrees, minutes and seconds of sexagesimal values
to decimal values as follows:
DEG(degrees, minutes, seconds) = degrees + minutes/60 + seconds/3600
SEE: DMS$
DMS$
PURPOSE: Converts a decimal value to a sexagesimal string.
FORMAT:
DMS$
( argument )
Numeric expression
EXAMPLE: DMS$ (1.52)
PARAMETERS: Argument: numeric expression in the ]-10
EXPLANATION:
1. Converts decimal values to sexagesimal strings.
2. Minutes and seconds are not displayed when the argument is in the range of
numeric expressions ≥ 10
converted to a string as it is.
SEE: DEG
[ ,
minutes
Numeric expression
6
. In this case, the absolute value of the argument is
68
[ ,
seconds ] ] )
Numeric expression
100
100
, 10
[ range.
100
100
, 10
[ range.
100
100
, 10
[ range.
100
, 10
F
0
F
0
F
0
100
[ range.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Z-1grZ-1

Table of Contents