advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
STR$, VAL Functions Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 STR$(numeric-expression)
 VAL(stringexpression$)
 
 Usage Notes
   ■ If numeric-expression is positive, the string returned by the STR$
     function contains a leading blank.
 
   ■ The argument stringexpression$ is a sequence of characters that can be
     interpreted as a numeric value.
 
   ■ The VAL function stops reading the string at the first character that
     it cannot recognize as part of a number. The VAL function also strips
     blanks, tabs, and linefeeds from the argument string. For example, the
     code below returns the value 1615198:
 
         VAL("    1615 198th Street")