Denso Power Net Terminal BHT-7500 Spezifikationen Seite 390

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 560
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 389
Chapter 15. Function Reference
381
Syntax:
STR$(numericexpression)
Parameter:
numericexpression
A numeric expression.
Description:
STR$ converts the value of numericexpression into a string.
If numericexpression is 0 or positive, STR$ automatically adds a leading
space as shown below.
PRINT STR$(123);LEN(STR$(123))
To delete the leading space, you should use the MID$ function as shown below.
PRINT MID$(STR$(123),2);LEN(STR$(123))
If numericexpression is negative, STR$ adds a minus sign as shown
below.
PRINT STR$(-456);LEN(STR$(-456))
A common use for STR$ is to write numeric data into a data file.
The VAL function has the opposite capability to STR$.
Reference:
STRing String function
STR$
Converts the value of a numeric expression into a string.
Functions:
VAL
123 4
123 4
-456 4
Seitenansicht 389
1 2 ... 385 386 387 388 389 390 391 392 393 394 395 ... 559 560

Kommentare zu diesen Handbüchern

Keine Kommentare