From: Jake Steve Date: 2010-09-26T08:55:01+09:00 Subject: Values mix up Hi I'm just starting to use ruby and I'm stuck on a homework assignment for class My problem is \ dollars = tempEntry.text.to_f rate = tempEntry.text.to_f time = tempEntry.text.to_f fv = dollars*(1+rate)**time output= " In " + time.to_s + " years your investment will be worth " + fv.to_s resultLabel.set_label( output ) the dollars value takes the time values place if anyone could help i would really appreciate it -- Posted via http://www.ruby-forum.com/.