From: corey konrad <0011@...> Date: 2006-05-12T11:08:10+09:00 Subject: Re: conversion issues Guest wrote: > Guest wrote: >> corey konrad wrote: >>> what is going on here, i dont understand why i keep getting conversion >>> errors. i am making a conversion from a string to and integer i dont >>> understand why it isnt working. >> >> because it needs to be a string when you print it. > (well, actually when you concatenate prior to printing) > > >>> irb(main):041:1> puts "this is a better number" + i_num >> >> puts "this is a better number" + i_num.to_s I dont know is there an easier way to do that? i mean i am a begining programmer but i am really finding it difficult to join in the hype about this language so far. Alot of times ruby is described as being elegant i just havnt gotten that impression yet. It seems to just do things in different ways than other languages for teh sake of being different and thats all. If i am wrong then no big deal like i said i am a beginging programmer but that is the impressio i am getting from it so far. -- Posted via http://www.ruby-forum.com/.