Project

General

Profile

Bug #9519 ยป wrong_multiline_calculation.rb

Victor (Victor Daev), 02/14/2014 10:04 AM

 
p(100 - (1 + 2 + 3 + 4))
# => 90
# ok

p(100 - (1 +
2 +
3 +
4))
# => 90
# ok

p(100 - (1
+ 2
+ 3
+ 4))
# => 96
# BUT it should be 90
    (1-1/1)