/* * Decompiled with CFR 0.0. * * Could not load the following classes: * java.lang.Object */ package com.juntek.celiangvat.util; public class BCDCode { public static byte decToHex(int n) { return (byte)(16 * (n / 10) + n % 10); } public static int hexToDec(byte by) { return 10 * (by / 16) + by % 16; } public static int hexToDec(int n) { return 10 * (n / 16) + n % 16; } public static int normalDecToHex(int n) { return 16 * (n / 10) + n % 10; } }