Modula-2 || Compiler & Tools || Library || Search Engine


Ulm's Modula-2 Library:
StrToReal


NAME

StrToReal - convert strings to real numbers

SYNOPSIS

PROCEDURE StrToReal(str: ARRAY OF CHAR; VAR real: REAL) : BOOLEAN;

DESCRIPTION

StrToReal converts str into real and returns TRUE on success. The input string is expected to conform to following syntax (leading white space will be ignored):
["+" | "-"] digit { digit } ["." digit { digit } ]
["E" ["+" | "-"] digit [digit] ]

SEE ALSO

RealConv, RealInOut, StrToNum
Edited by: borchert, last change: 1999/01/11, revision: 1.1, converted to HTML: 1999/01/11

Modula-2 || Compiler & Tools || Library || Search Engine