Arek Orzechowski

Greenhorn
+ Follow
since Nov 03, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Arek Orzechowski

Hi,

I agree it should be


but I think the reason the original line is not compiling are not the parameters (123 is boxed as Integer) but the result, which is of class Number (common superclass of Integer and Double) and cannot be converted to double

this compiles ok: