Thanks to visit codestin.com
Credit goes to github.com

Skip to content

On Python3, round with one argument should return an integer type. #5700

Closed
@anntzer

Description

@anntzer

Unlike Python2, Python3's (builtin) round function is documented to return an integer when called with a single argument. However, numpy float dtypes do not satisfy this, returning a float instead.

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