On Tuesday, September 9, 2014 10:47:02 AM UTC-4, Leonardo Taccari wrote:
>
> 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.
>

A floating-point value is necessary to capture the possible range of 
results.  e.g. what would you want div(27e82, 2.3) to return? 

Reply via email to