Prosoft-technology MVI69-ADM Manual de usuario Pagina 330

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 342
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 329
Side-Connect API Library Functions MVI-ADM 'C' Programmable
Developer's Guide 'C' Programmable Application Development Module
Page 330 of 342 ProSoft Technology, Inc.
February 20, 2013
MVIsc_BIN2BCD
Syntax
WORD MVIsc_BIN2BCD(WORD bin);
Parameters
bin
Binary value to be converted into BCD
Description
MVIsc_BIN2BCD converts a binary value to BCD. The value must be within the
range 0 to 9999 decimal.
Return Value
BCD representation of binary value.
Example
WORD bcd;
WORD bin;
/* Convert the value in binary to BCD */
bcd = MVIsc_BIN2BCD(bin);
Vista de pagina 329
1 2 ... 325 326 327 328 329 330 331 332 333 334 335 ... 341 342

Comentarios a estos manuales

Sin comentarios