Sha256: 3431a38c87b23a0d19b0c7261ed4c1c115756d91b78548b84e6df57dc16a9a7c

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

[![Build Status](https://travis-ci.org/colinframe/percentify.svg?branch=master)](https://travis-ci.org/colinframe/percentify)
[![Maintainability](https://api.codeclimate.com/v1/badges/a98ee52a6c5feedd2db6/maintainability)](https://codeclimate.com/github/colinframe/percentify/maintainability)
[![Coverage Status](https://coveralls.io/repos/github/colinframe/percentify/badge.svg?branch=master)](https://coveralls.io/github/colinframe/percentify?branch=master)

# Percentify

Gem for doing percentages in ruby

2.as_percentage_of(10) = 20.0

2.percent_of(10) = 0.2

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'percentify'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install percentify

## Usage

TODO: Write usage instructions here

## Contributing

1. Fork it ( https://github.com/colinframe/percentify/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
percentify-0.1.1 README.md