From: Guest Date: 2006-05-12T10:56:46+09:00 Subject: Re: conversion issues 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 -- Posted via http://www.ruby-forum.com/.