You can use the min and max flags to the printer function (like sstr()
or pprint() or latex()). They set the minimum and maximum values to
print as fixed point. You can use min=-float('inf'), max=float('inf')
to always print every float as fixed point. These flags don't seem to
be documented, but if you look at the documentation for
mpmath.libmp.to_str, they are passed to the min_fixed and max_fixed
flags of that function.
Aaron Meurer
> --
> You received this message because you are subscribed to the Google Groups "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sympy+un...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/b2c340b5-a689-466d-abfb-83a6381d0379n%40googlegroups.com.