Prevent potential rounding issues by switching to Decimal in csv_to_megam