Percent Formatting Class in Ruby
In this guide you will learn how to create a class called Percent Formatting.
Guide Tasks
- Read Tutorial
- Complete the Exercise
Summary
Build a Class that that will use Percent Formatting to help solve the problem.
Exercise Description
"Define a class using the Percent Formatter that will help you convert numbers to a percent."
Example Data
'pf = PercentFormatter.new(0.10)' -> expect(pf.convert_to_percent).to eq(10.0)
Real World Usage
This exercise will help you convert numbers into percentages.