Add support for ufloats to display_num and use that in set_latex_value

This is to ensure that the precision of the uncertainty lines up with that of the value