Hm.. I can't make my code work with the input of "2.5", but it works for "2,5" - do you use the wrong data type for my scanner? I have tried float and long also.. what else can I do?