8000 mpz type should support formatting types for float's, like int · Issue #579 · aleaxit/gmpy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
mpz type should support formatting types for float's, like int #579
Open
@skirpichev

Description

@skirpichev

E.g.:

>>> from gmpy2 import mpz
>>> format(mpz(123), 'f')
Traceback (most recent call last):
  File "<python-input-1>", line 1, in <module>
    format(mpz(123), 'f')
    ~~~~~~^^^^^^^^^^^^^^^
ValueError: Invalid conversion specification
>>> format(int(123), 'f')
'123.000000'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0