how can i take an int or float or any numeric input from user except String because .readline() only take String as an input . for example i want to take numbers from user in this example:
println"Enter your age"
var age:int =readInt()
This gives me an error