that's my confusion, i don't know will it be translated into a char (49 converted to ascii and read as a single char) or it just take the first digit... thanks for the explanation... my bad... i should've give a simple test at the first place...
If it's being input to a char, then you'll get the ascii code of the first character that you enter.
If it's being input to a string, then you'll get the ascii codes of each character that you enter
If it's being input to an int, or short, or long, or float, or double, then you'll get the value represented by a set of digits (including the period when applicable)