String, decimal, or float datatype for price field? September 25, 2023 by Tarik add_column :table, :price, :decimal, :precision => 8, :scale => 2 The code above would be your best bet.