diff --git a/lib/templates/find_acro_fields.rb b/lib/templates/find_acro_fields.rb index b02bbdfc..af0ee395 100644 --- a/lib/templates/find_acro_fields.rb +++ b/lib/templates/find_acro_fields.rb @@ -78,7 +78,7 @@ module Templates next if attrs[:w].zero? || attrs[:h].zero? if child_field[:MaxLen] && child_field.try(:concrete_field_type) == :comb_text_field - attrs[:cell_w] = w / page_width / child_field[:MaxLen].to_f + attrs[:cell_w] = w / page_width.to_f / child_field[:MaxLen].to_f end attrs