number v1.0.1 API Reference

Modules

Number is a pretentiously-named library which provides functions to convert numbers into a variety of different formats. Ultimately, it aims to be a partial or complete clone of ActionView::Helpers::NumberHelper from Rails.

Converts values to formats consumable by Number.

Provides functions for converting numbers into formatted currency strings.

Provides functions to delimit numbers into strings.

Provides functions for converting numbers into more human readable strings.

Provides functions for converting numbers into percentages.

Provides functions to convert numbers into formatted phone number strings.

Provides functions for formatting numbers using SI notation.