Remote Processing Coorporation RPC-320 Dokumentacja Strona 121

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 186
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 120
Commands - 91
A = 1234.67
PRINT USING "#.##ˆˆˆˆ";A
0.12E+4
In this case the first # specifies the leading zero to the left of the decimal point.
PRINT USING "##.##ˆˆˆˆ;A
1.23E+3
Leading zeros to the left of the first digit to the left of the decimal point are suppressed.
A = 25.5555
PRINT USING #2, "##.##";A
25.56
Note that true rounding to the second decimal place took place. Output is to the COM2 port.
ERROR: <Illegal argument> – if the field specifier, “#”, is longer than 8 characters
<Data out of range> – if n is not a legal serial port number
NOTE: Illegal combinations of field declaration characters may cause erratic printing.
Przeglądanie stron 120
1 2 ... 116 117 118 119 120 121 122 123 124 125 126 ... 185 186

Komentarze do niniejszej Instrukcji

Brak uwag