Arduino with servo motor degrees over serial

Hi there,

Can anyone help me with solution sending degree from 0 to 180 over serial monitor and moving servo motor with that number ?
I think the problem is that when I send, arduino only pick up the first number or pick's something else.Can anyone help me sending proper code !???

tnx in advance !!!

@Zoomkat has some code to do that - Servo and Serial - #12 by zoomkat - Motors, Mechanics, Power and CNC - Arduino Forum