Sharp PC-1403 Operation Manual page 192

Hide thumbs Also See for PC-1403:
Table of Contents

Advertisement

186
Note: The character string
convertible by
VAL function to
a
numerical value consists of
numerals (0 to
9),
symbols (
+
and
-)
and
a
symbol
(E) indicating an
exponential
portion. No
other characters and
symbols
are included. If a
character string includes other
characters and
symbols,
any
character string on
the right of that
character
string
will be
ignored. If included in a character string,
a space is usually regarded as nonexistent.
VAL
is
a string function which
returns
the
numeric
value of its
stri
n g
argument.
It is the
reverse of
STR$.
The VAL of
a nonnumber is zero.
VAL
"1.59"
is 1.59.
1 VAL string
expression
STR$ is a string
function
which
returns
a
string which
is
the character representation of
its
numeric argument. It
is the
reverse
of
VAL.
STR$
1.59
is '1.59'.
1 STR$
numeric
expression
RIGHT is a string
function
which
returns the rightmost
part of the string in the first
argument. The number
of characters returned
is determined
by
the numeric
expres-
sion.
RIGHT$
("ABCDEF", 3)
is
'DEF'.
1 RIGHT$ (string
expression, numeric
expression)
Functions
String Functions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents