Skip to content
Ember addon for converting number digits into words
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
addon
app
config
tests
vendor
.bowerrc
.editorconfig
.ember-cli
.eslintrc.js
.gitignore
.jshintrc
.npmignore
.travis.yml
.watchmanconfig
LICENSE.md
README.md
bower.json
ember-cli-build.js
index.js
jsconfig.json
package-lock.json
package.json
testem.js
travis.yml
yarn.lock

README.md

Ember-number-to-words

Ember Observer Score Codeship Status for FutoRicky/ember-number-to-words

Ember addon for converting number digits to words.

DEMO

Installation

ember install ember-number-to-words

Usage

Depending on language the component call is different.

Supported Languages

Language Component Example
English number-to-english {{number-to-english number=11}} will return eleven
French number-to-french {{number-to-french number=11}} will return onze
Lithuanian number-to-lithuanian {{number-to-lithuanian number=11}} will return vienuolika
Spanish number-to-spanish {{number-to-spanish number=11}} will return once

Properties

Property Attribute Description Required
number integer Integer to convert to word Yes
decimal 'word' Returns decimal in word format No
'fraction' Return decimal in fraction format No
capitalize boolean If true, returns capitalized first letter No

By default it just ignores the decimal and counts it as part of the integer

Language Contributions 🤘

English: @futoricky

Spanish: @futoricky

French: @cicoub13

Lithuanian: @rimvislt

Contributions

All contributions are welcomed and encouraged.

Please make all pull requests to the dev branch.

Thanks!

You can’t perform that action at this time.