From: matz@... (Yukihiro Matsumoto) Date: 2002-01-13T02:25:45+09:00 Subject: Re: I/O gets and integers Hi, In message "I/O gets and integers" on 02/01/13, "linas" writes: |Whenever i use gets to retireve user input, it always retrieves it as a |string. Is there anyway that it can be retireved as an integer (or real |number)? Try Integer(str) and Float(str). Method names are self-explanatory. matz.