# Currency for "Amount in words"

**URL:** <https://forum.manager.io/t/currency-for-amount-in-words/22025>\
**Category:** Uncategorized\
**Created:** [May 14, 2019, 10:57am UTC](https://forum.manager.io/t/currency-for-amount-in-words/22025 "2019-05-14T10:57:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gurpreet\_SINGH](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/gurpreet_singh/32/18946_2.png) [@Gurpreet\_SINGH](https://forum.manager.io/u/Gurpreet_SINGH)\
**Post date:** [May 14, 2019, 10:57am UTC](https://forum.manager.io/t/currency-for-amount-in-words/22025/1 "2019-05-14T10:57:16Z")

</div>

Hi,  
Is there a way to put the currency with the “Amount in words”.  
For example; I am from UAE and the currency here is AED/Dirhams.  
An invoice amounted for 100.00; when selected “Amount in words” shows, “One Hundred only”.  
Is there a way to add “AED One hundred only” or “Dirhams One hundred only”.

if there is a way, please share your tricks.

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [May 14, 2019, 11:53am UTC](https://forum.manager.io/t/currency-for-amount-in-words/22025/2 "2019-05-14T11:53:25Z")

</div>

There is no method.

---

<div class="post-metadata">

**Author:** ![VISA-MC](https://avatars.discourse-cdn.com/v4/letter/v/67e7ee/32.png) [@VISA-MC](https://forum.manager.io/u/VISA-MC)\
**Post date:** [May 15, 2019, 11:07am UTC](https://forum.manager.io/t/currency-for-amount-in-words/22025/3 "2019-05-15T11:07:09Z")

</div>

If you copy the theme you are using to a custom theme and insert this code:

> ```
> {% capture amount %}{% for total in table.totals %}{% if total.label == "Total" %}{{ total.text }}{% endif %}{% endfor %}{% endcapture %}
> {% capture anc %}{% for total in table.totals %}{% if total.label == "Total" %}{% assign an=total.number %}{% endif %}{% endfor %}{% endcapture %}
> {% capture amount_in_words %}{% for total in table.totals %}{% if total.label == "Total" %}{{ total.number | spell_out }}{% endif %}{% endfor %}{% endcapture %}
> {% capture cents%}{{an| plus: 0 | modulo: 1| times: 100 | round: 0}}{%endcapture%}
> {% capture cents_in_words %}{% if cents != "0" %}{{cents|prepend: " and " | append: "/100 "}}{%else%} Only{% endif %}{% endcapture %}
> {{amount_in_words}}{{cents_in_words}}
> 
> ```

You will produce this when there are nothing after the decimal point

 ![02%20AM](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/3/e/3eed34dd4cd1469c090351f84d64c0cc441e3db2.png)  
And this when there are cents.  
 ![08%20AM](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/5/2/5273ed12d8af47d77d393855552c501695402059.png)

I am located in United States and I am not familiar with the notation of your currency, but if you want to add the currency before it, you can do so by putting AED before the

> {{amount\_in\_words}}{{cents\_in\_words}}

in the last line of the copy I gave you. Hope this helps.

---

<div class="post-metadata">

**Author:** ![mdarh411](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/mdarh411/32/29155_2.png) [@mdarh411](https://forum.manager.io/u/mdarh411)\
**Post date:** [May 30, 2021, 2:45pm UTC](https://forum.manager.io/t/currency-for-amount-in-words/22025/4 "2021-05-30T14:45:40Z")

</div>

Hello & thanks for sharing this. If I want to “Four Million Six Hundred Thousand Only” into “Forty Six Lakh Only” which is 4,600,000.00. Maybe it’s Indian Currency Format. How can I do this plz?

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [May 30, 2021, 3:38pm UTC](https://forum.manager.io/t/currency-for-amount-in-words/22025/5 "2021-05-30T15:38:05Z")

</div>

You cannot do that. The software function returns only an English equivalence of a number. It performs no currency conversions and assigns no currency symbols, codes, or names.

---

<div class="post-metadata">

**Author:** ![mdarh411](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/mdarh411/32/29155_2.png) [@mdarh411](https://forum.manager.io/u/mdarh411)\
**Post date:** [May 30, 2021, 3:45pm UTC](https://forum.manager.io/t/currency-for-amount-in-words/22025/6 "2021-05-30T15:45:33Z")

</div>

😠 😠 😠  
Why every time everywhere you said only just “NO”? 😭  
Manager authority can be added in future if they got this important for us.  
I’m a PHP programmer, I know it’s not possible without there permission.  
Thanks! 🙁

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [May 30, 2021, 4:09pm UTC](https://forum.manager.io/t/currency-for-amount-in-words/22025/7 "2021-05-30T16:09:46Z")

</div>

What @Tut is talking about is the lack native functions or filters to achieve your goals. But you can definitely endeavor to create your own liquid script to do whatever you want to do within the limits of liquid. The developer allowed this and it’s a super useful feature.

You should try it.

> [@mdarh411](#):
>
> I’m a PHP programmer

That’s a great start. That also means that you shouldn’t struggle learning liquid, that is if you don’t know it already.

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [January 18, 2023, 3:01pm UTC](https://forum.manager.io/t/currency-for-amount-in-words/22025/8 "2023-01-18T15:01:37Z")

</div>


