0.6.0 • Published 6 years ago

ember-number-to-words v0.6.0

Weekly downloads
234
License
MIT
Repository
github
Last release
6 years ago

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

LanguageComponentExample
Englishnumber-to-english{{number-to-english number=11}} will return eleven
Frenchnumber-to-french{{number-to-french number=11}} will return onze
Lithuaniannumber-to-lithuanian{{number-to-lithuanian number=11}} will return vienuolika
Spanishnumber-to-spanish{{number-to-spanish number=11}} will return once

Properties

PropertyAttributeDescriptionRequired
numberintegerInteger to convert to wordYes
decimal'word'Returns decimal in word formatNo
'fraction'Return decimal in fraction formatNo
capitalizebooleanIf true, returns capitalized first letterNo

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

Language Contributions :metal:

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!

0.6.0

6 years ago

0.5.0

6 years ago

0.4.0

7 years ago

0.3.4

7 years ago

0.3.3

7 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago