Multichannel-systems NeuroExplorer Manual do Utilizador Página 312

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 373
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 311
5.5.14.6. NumToStr Function
NumToStr Function
Converts number to string using optional format string.
Syntax
string NumToStr(number, formatString)
Parameters
Parameter Type Description
number double Number to be converted to string.
formatString string Optional format string (a standard C/C++ format
specifier).
See, for example,
http://www.cplusplus.com/reference/clibrary/cstdio/p
rintf/
Returns
Returns string representing the specified number.
Comments
None
Usage
NexScript
For example, to generate strings:
Event001, Event002, ..., Event016
use the following loop
for i=1 to 16
str = "Event0" + NumToStr(i, "%02.0f")
end
See Also
Introduction to NexScript Programming
NexScript Function Categories
Page 310
Vista de página 311
1 2 ... 307 308 309 310 311 312 313 314 315 316 317 ... 372 373

Comentários a estes Manuais

Sem comentários