Denso BHT-200QW Especificações Página 350

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 587
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 349
342
____________________________________________________________________
STRing String function
STR$
Converts the value of a numeric expression into a string.
____________________________________________________________________
Syntax:
Syntax:Syntax:
Syntax:
STR$(numericexpression)
Parameter:
Parameter:Parameter:
Parameter:
numericexpression
A numeric expression.
Description:
Description:Description:
Description:
STR$ converts the value of numericexpression into a string.
• If numericexpression is 0 or positive, then STR$ automatically adds a leading space
(meaning + sign) as shown below.
PRINT STR$(123);LEN(STR$(123))
123 4
To delete the leading space, you should use the MID$ function as shown below.
PRINT MID$(STR$(123),2);LEN(STR$(123))
123 4
• If numericexpression is negative, STR$ adds a minus sign as shown below.
PRINT STR$(-456);LEN(STR$(-456))
-456 4
A common use for STR$ is to write numeric data into a data file.
• The VAL function has the opposite capability to STR$.
Reference:
Reference:Reference:
Reference:
Functions:
VAL
]
Vista de página 349
1 2 ... 345 346 347 348 349 350 351 352 353 354 355 ... 586 587

Comentários a estes Manuais

Sem comentários