diff --git a/app/services/variant_units/option_value_namer.rb b/app/services/variant_units/option_value_namer.rb index 40b1bd04416..fdc92594a51 100644 --- a/app/services/variant_units/option_value_namer.rb +++ b/app/services/variant_units/option_value_namer.rb @@ -56,7 +56,7 @@ def option_value_value_unit def option_value_value_unit_scaled unit_scale, unit_name = scale_for_unit_value - value = (@nameable.unit_value / unit_scale).to_d.truncate(2) + value = (@nameable.unit_value / unit_scale).to_d.round(2) [value, unit_name] end