decimal_to_octal return · Issue #1368 · TheAlgorithms/Python · GitHub
Skip to content

decimal_to_octal return #1368

Description

@afeiguo

the return code is wrong for big number, e.g.:

print("{0:g}".format(float(1000000001.0)))

the return is 1e+09, not '1000000001'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions