Displaying 1 result from an estimated 1 matches for "ad_title".
2006 Mar 02
0
syntax for number_with_precision
...erted to a string.
Please note that bid_counter.bid returns a decimal number.
@bids.each do |bid_counter|
mybid = number_with_precision(bid_counter.bid,2)
bidhtml += "<tr><td>"+ bid_counter.user.company_name +
"</td><td>" + bid_counter.ad_title + "</td><td>$" + mybid.to_s +
"</td></tr>"
end
--
Posted via http://www.ruby-forum.com/.