Floating numbers

jmfauth wxjmfauth at gmail.com
Fri Aug 13 14:46:50 EDT 2010


On 13 août, 17:43, Mark Dickinson <dicki... at gmail.com> wrote:
> On Aug 13, 3:03 pm, jmfauth <wxjmfa... at gmail.com> wrote:
>
>
>
> > A quick question.
>
> > I understand how to get these numbers
>
> > 34.52000000000000312638803734444081783294677734375
>
> > and
>
> > 47 (from 2**47)
>
> > and the sign.
>
> > with the decimal module, but I fail to find this one
>
> > 4858258098025923
>
> > Possible?
>
> See the float.as_integer_ratio method.
>
> --
> Mark


Thanks. I *stupidely* forget this.

jmf




More information about the Python-list mailing list