Package br.com.gmartins.simbler.instructions

Examples of br.com.gmartins.simbler.instructions.BaseConvertor.hexToDec()


        BaseConvertor baseConvertor = new BaseConvertor();
        switch (this.valueType) {
            case BINARY:
                return baseConvertor.binToDec(this.value);
            case HEXADECIMAL:
                return baseConvertor.hexToDec(this.value);
            case DECIMAL:
                return value;
        }
        return null;
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.