Casio FX-890P Owner's Manual page 72

Casio personal computer owner's manual
Table of Contents

Advertisement

STR$
PURPOSE: Converts the argument (numeric value or numeric expression value) to a
string.
FORMAT:
STR$
(argument)
Numeric expression
EXAMPLE: STR$ (123), STR$ (255+3)
PARAMETERS: Argument: numeric expression
EXPLANATION:
1. Converts decimal values specified in the argument to strings.
2. Converted positive values include a leading space and converted negative
values are preceded by a minus sign
SEE: VAL
VAL
PURPOSE: Converts a numeric character string to a numeric value.
FORMAT:
VAL
(string)
String expression
EXAMPLE: A=VAL ("345")
PARAMETERS: string : string expression
EXPLANATION:
1. Converts a numeric character string to a numeric value.
2. Numeric characters are converted up to the point in the string that a non-
numeric character is encountered. All subsequent characters are disregarded
from the non-numeric character onwards. (i.e. VAL("123A456") = 123).
3. The value of this function becomes 0 when the length of the string is 0 or
when the leading character is non-numeric.
SEE: STR$, VALF
VALF
PURPOSE: Performs calculation of numeric expression expressed as string, and
returns the result.
FORMAT:
VALF
(string)
String expression
EXAMPLE: VALF (X$)
PARAMETERS: String : string expression
EXPLANATION:
1. Performs calculation of numeric expressions, which are expressed as strings,
and returns their results.
2. An error is generated when an intermediate of final result of calculation
exceeds 10
3. VALF cannot be used within a VALF argument.
100
.
72
F
0
F
0
F
0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Z-1grZ-1

Table of Contents