Fix hex/dec error

Signed-off-by: Thomas Ackermann <th.acker@arcor.de>
Merge pull request #187 from tacker66/hex_dec

Fix hex/dec error