Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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!

About

Ember addon for converting number digits into words

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •