Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Integer division should produce floating point result

#93

Currently, the expression parser evaluates 1/5 to zero, which is probably unexpected and unhelpful for most users. It should be modified so that integer/integer division always returns a floating-point result (a la Python 3).

Reported by Christopher Stawarz · February 25th, 2013 @ 11:16 AM

State: resolved
Milestone: none
Assigned to: Christopher Stawarz Christopher Stawarz

Activity

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.