Loading…
Loading…
方法名称: convert_decimal_to_bcd3
方法ID: 0x406D
方法标签:
方法描述:
- {
- unsigned int temporary1;
- unsigned long hold1;
- unsigned long temporary2;
- temporary2 = temporary1 = 0;
- hold1 = igetval();
- temporary2 = hold1 / 65536;
- temporary2 = hold1 >> 16;
- temporary2 = 10000 * (10 * (temporary2 / 16) + temporary2 % 16);
- hold1 = hold1 % 65536;
- temporary1 = hold1 / 256;
- temporary1 = 100 * (10 * (temporary1 / 16) + temporary1 % 16);
- hold1 = hold1 % 256;
- hold1 = 10 * (hold1 / 16) + hold1 % 16;
请登录以获得完整内容