fn float_to_decimal_display<T>(fmt: &mut Formatter<'_>, num: &T) -> Resultwhere
    T: DecodableFloat,