ranges: allow svals to be printed in hex