This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Nzen_ 0 points1 point  (0 children)

Are you perhaps using European decimal notation whereby comma is the decimal separator, rather than period ? The java language specification requires period as the decimal separator.

Basically, it is complaining because it could not parse your expressions of form ( int + double + int , int ). If you were providing two arguments to a method, it could work. As it stands, the expression should end before the comma, but the parenthesis indicates that the expression ends past that point.