i am making a pdf file, retrieving an product for the db and print the price
in the pdf
@product = Product.find(@params["id"])
pdf.SetFont('Arial','',10)
pdf.Cell(3,h, "?",0,0)
pdf.Cell(100,h, " " + @product.price , 0,1)
error : cannot convert Float into String
any help