Revert "Finished Decimal2HexConversion with ternary operator"

This reverts commit ae30ffb51caac1ee4d011862955f9a6ffa6f7cef.