# frozen_string_literal: true # Converts string into a floating type number class FloatConverter def convert(string) string.to_f end end