This project is not covered by Drupal’s security advisory policy.

Twig N2W allows users to add filters on numeric values to convert it into words in your twig file.

This module will help you to print numbers into words, Bharat(Indian) or International currency system.

Just have a look below examples and you are done. Its pretty simple :)

EXAMPLES
--------------

a. Bharat(Indian) word format: use below for words only
{{ 123456789012.56|n2w_format_bharat }}
Output: One Kharab Twenty-Three Arab Fourty-Five Crore Sixty-Seven Lac Eighty-Nine Thousand Twelve Point Fifty-Six

b. Bharat(Indian) currency format: use below for words with currency
{{ 123456789012.56|n2w_format_bharat('currency') }}
Output: One Kharab Twenty-Three Arab Fourty-Five Crore Sixty-Seven Lac Eighty-Nine Thousand Twelve Rupees and Fifty-Six Paisa

c. International word format: use below for words only
{{ 123456789012.56|n2w_format_intl }}
Output: One Hundred Twenty-Three Billion Four Hundred Fifty-Six Million Seven Hundred Eighty-Nine Thousand Twelve Point Fifty-Six

d. International currency format: use below for words with currency
{{ 123456789012.56|n2w_format_intl('currency') }}
Output: One Hundred Twenty-Three Billion Four Hundred Fifty-Six Million Seven Hundred Eighty-Nine Thousand Twleve Dollars and Fifty-Six Cents

Supporting organizations: 

Project information

Releases