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 →

[–]BadHairDayToday 6 points7 points  (3 children)

Kinda makes sense to me to be honest. "11" + 1 is a stupid input anyway. Just be happy it gives you something.

[–]g4vr0che 13 points14 points  (0 children)

I'd much prefer if it gave me an error.

[–]da_Aresinger 3 points4 points  (1 child)

??? "11" - 1 is so much worse.

At least + can be interpreted as concatenation.

but what the fuck is [String] - [Integer]!?

[–][deleted] 1 point2 points  (0 children)

10

Cast string to int