Denso BHT-200QW Dokumentacja Strona 355

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 587
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 354
Chapter 15. Function Reference
347
____________________________________________________________________
VALue String function
VAL
Converts a string into a numeric value.
____________________________________________________________________
Syntax:
Syntax:Syntax:
Syntax:
VAL(stringexpression)
Parameter:
Parameter:Parameter:
Parameter:
stringexpression
A string expression which represents a decimal number.
Description:
Description:Description:
Description:
VAL converts the string specified by stringexpression into a numeric value.
• If stringexpression is nonnumeric, VAL returns the value 0.
PRINT VAL("ABC")
0
• If stringexpression contains a nonnumeric in midstream, VAL converts the string
until it reaches the first character that cannot be interpreted as a numeric.
PRINT VAL("1.2E-3ABC")
1.200000000E-03
• The STR$ function has the opposite capability to VAL.
Reference:
Reference:Reference:
Reference:
Functions: ASC and STR$
Przeglądanie stron 354
1 2 ... 350 351 352 353 354 355 356 357 358 359 360 ... 586 587

Komentarze do niniejszej Instrukcji

Brak uwag