You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

ember-number-to-words

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-number-to-words

Number to words converter

0.6.0
latest
Source
npmnpm
Version published
Weekly downloads
15
15.38%
Maintainers
1
Weekly downloads
 
Created
Source

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!

Keywords

ember-addon

FAQs

Package last updated on 09 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts