VAL
|
Syntax: |
VAL(<String>) <String> = <STRING-EXPRESSION> |
||
|
Meaning: |
Returns the numeric value of a string. Leading blanks, tabs and line feed characters
are ignored when they are read. If the 1st character of the string
is not numeric, the value 0 is returned, otherwise the value of leading
numbers of the string is returned as floating-point number. VAL only
interprets the character "." as decimal point and not the character
",". Führende Leerzeichen,
Tabulatoren und Zeilenvorschubzeichen werden dabei überlesen. Ist danach das 1.
Zeichen des Strings nicht numerisch, so wird der Wert 0 geliefert,
andernfalls wird der Wert der führenden Ziffern des Strings als
floating-point number geliefert. VAL interpretiert nur das Zeichen
"." als Dezimalpunkt und nicht das Zeichen ",". |
||
|
Parameter: |
|
||
|
Sample: |
ZIP = VAL("80300 MUNIC")
/* ZIP = 80300 VALUE = VAL("24.75") /* VALUE = 24.75 VALUE = VAL("24,75") /* VALUE = 24 |
||
|
See also: |
|