impliment prefix and precision for hexadecimals