inkle / inkle/ink-library

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

Open
#17 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Ink
Stars
335
Forks
49
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.