Skip to content

round() returns 0 always? #476

@ladyada

Description

@ladyada

@jedgarpark noticed this!

Adafruit CircuitPython 2.1.0 on 2017-10-17; Adafruit Trinket M0 with samd21e18
>>>
>>> round(1.0)
0
>>> round(2.0)
0
>>> round(3.0)
0
>>> round(3.2)
0

!?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions