Loading…

Method Name: convert_decimal_to_bcd2

Method ID: 0x404F

Method Label:

Method Help:


  • {
  • int temporary1;
  • int temporary2;
  • int hold1;
  • hold1 = igetval();
  • temporary2 = hold1 / 256;
  • hold1 = hold1 % 256;
  • temporary2 = 100 * (10 * (temporary2 / 16) + temporary2 % 16);
  • temporary1 = 10 * (hold1 / 16) + hold1 % 16;


Please login for more