added option to display numbers in different formats (hex/dec,..)