Thank you.
On Wednesday, March 24, 2021 at 8:59:22 PM UTC+2 [email protected] wrote:
> 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
>
> On Wed, Mar 24, 2021 at 10:07 AM Chris Smith <[email protected]> wrote:
> >
> > Search online for "python print format number"
> >
> > >>> '{:f}'.format(5e-5)
> > 0.000050
> >
> > On Wednesday, March 24, 2021 at 6:53:58 AM UTC-5 [email protected]
> wrote:
> >>
> >> How can I print Float(0.00005) as it is without exponent?
> >
> > --
> > 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 [email protected].
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/b2c340b5-a689-466d-abfb-83a6381d0379n%40googlegroups.com
> .
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/f643a0a3-a028-4a42-87ea-72f914e11ef5n%40googlegroups.com.