Prosoft-technology MVI69-ADM Instrukcja Użytkownika Strona 330

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 342
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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);
Przeglądanie stron 329
1 2 ... 325 326 327 328 329 330 331 332 333 334 335 ... 341 342

Komentarze do niniejszej Instrukcji

Brak uwag