Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

div should return a decimal #24

Closed
ghislainfourny opened this issue Jan 23, 2018 · 1 comment
Closed

div should return a decimal #24

ghislainfourny opened this issue Jan 23, 2018 · 1 comment
Labels

Comments

@ghislainfourny
Copy link
Member

4 div 3

should return a decimal (1.333333...), not an integer. "div" is the only operation that doesn't return a value with the same type as one of its operands. "idiv" does return an integer though.

@CanBerker
Copy link
Collaborator

Solved in #66

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants