Hello, sorry if this was asked before, I'm a beginner here.
Why does div() with non-Int arguments return a non-Int? E.g., div(27,2.3) returns a Float64. I would expect it to be an Int, while it seems I have to manually convert the result to Int.
Hello, sorry if this was asked before, I'm a beginner here.
Why does div() with non-Int arguments return a non-Int? E.g., div(27,2.3) returns a Float64. I would expect it to be an Int, while it seems I have to manually convert the result to Int.