UBI EasyCoder 201 IIE Manual de Instruções Página 103

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 332
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 102
Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 101
Chapter 2 Program Instructions
FORMAT$, cont.
Examples, cont.
Subtraction. The third parameter will be subtracted from the rst.
A$=FLOATCALC$("234.90","-","100.013",2)
PRINT A$
yields:
"134.88"
PRINT FORMAT$(A$,"\$ 0,000#")
yields:
"$ 134,880"
Note: If a higher precision is used in
FLOATCALC$, A$ will yield
"$134,887".
Multiplication
B$="3"
A$=FLOATCALC$("100", "*", B$, 1)
PRINT A$
yields:
"
300.0"
C$="0 0 0,00###"
PRINT FORMAT$(A$,C$)
yields:
"3 0 0,00"
Division. The rst parameter will be divided by the third.
B$="1.0"
A$=FLOATCALC$(B$,"/","3.0")
PRINT A$
yields:
"0.3333333333"
PRINT FORMAT$(A$,"\$ 000.00###")
yields:
"$ 000.33333"
Vista de página 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 331 332

Comentários a estes Manuais

Sem comentários