Skip to content

print_num(x) function should cast its argument to an int #17

@cmwedin

Description

@cmwedin

This is a very minor issue and very easy to change on your own, so i understand if it isn't a priority, but it would make sense to want to print out a float in text as the closest integer. As it stands float arguments will be accepted but not print properly for inputs higher than 20 as integer division isn't used in the conditional.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions