# Numbers converting to text

**URL:** <https://community.gravityforms.com/t/numbers-converting-to-text/20315>\
**Category:** Get Help\
**Tags:** custom, text, amount\
**Created:** [June 25, 2026, 2:27pm UTC](https://community.gravityforms.com/t/numbers-converting-to-text/20315 "2026-06-25T14:27:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![user5cdc08c8acef8549](https://avatars.discourse-cdn.com/v4/letter/u/a183cd/32.png) [@user5cdc08c8acef8549](https://community.gravityforms.com/u/user5cdc08c8acef8549)\
**Post date:** [June 25, 2026, 2:27pm UTC](https://community.gravityforms.com/t/numbers-converting-to-text/20315/1 "2026-06-25T14:27:59Z")

</div>

Hi,

Is there a possibility (function) to convert an amount to text?  
Now a user should type itself however many typos are then possible or incompleted text,  
Small example:  
Amount: 30,00  
Text as money: “dertig euro en nul cent”

Ron

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [June 25, 2026, 8:05pm UTC](https://community.gravityforms.com/t/numbers-converting-to-text/20315/2 "2026-06-25T20:05:33Z")

</div>

We’ve talked about it a few times in these forums:

> [@Number entry output displayed in words](https://community.gravityforms.com/t/number-entry-output-displayed-in-words/14140):
>
> Hello everybody, I would like our donation form input field in numbers (or prices) to be shown in the auto-generated pdf in full words, for example " 56 Euros" as “five - six”, or 456.87 as “four - five - six - eight -seven”. Do you know how to do it? Just for context, our legislation in Germany requires the donation receipts to be done like this. I know how to solve the problem on the fixed donations, but it is a problem when the donor is choosing the amount themselves. I have already researc…

> [@Numbers converting to text](https://community.gravityforms.com/t/numbers-converting-to-text/20315):
>
> Hi, Is there a possibility (function) to convert an amount to text? Now a user should type itself however many typos are then possible or incompleted text, Small example: Amount: 30,00 Text as money: “dertig euro en nul cent” Ron

There are PHP libraries now that could also be harnessed to transform the value that was submitted, and convert it to text using the [gform\_pre\_submission](https://docs.gravityforms.com/gform_pre_submission/) filter and a bit of custom code, if you need the words stored in the entry:

> **[GitHub - amirsanni/number-to-words: A simple PHP library for converting figures to...](https://github.com/amirsanni/number-to-words)**
>
> A simple PHP library for converting figures to words.

> **[Numera: A PHP Library for Number to Words Conversion](https://dev.to/yoosefap/numera-a-php-library-for-number-to-words-conversion-1g25)**
>
> As a developer, you may have encountered situations where you need to convert numbers to words or...

> **[GitHub - kwn/number-to-words: Number to string standalone PHP library with i18n....](https://github.com/kwn/number-to-words)**
>
> Number to string standalone PHP library with i18n. Drivers for numbers and currency included.

---

<div class="post-metadata">

**Author:** ![user5cdc08c8acef8549](https://avatars.discourse-cdn.com/v4/letter/u/a183cd/32.png) [@user5cdc08c8acef8549](https://community.gravityforms.com/u/user5cdc08c8acef8549)\
**Post date:** [June 26, 2026, 10:16am UTC](https://community.gravityforms.com/t/numbers-converting-to-text/20315/3 "2026-06-26T10:16:18Z")

</div>

Chris,  
Thank you, I’ll dig in to it.  
(Using the right “search” keywords… 🙃 )

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [July 26, 2026, 10:16am UTC](https://community.gravityforms.com/t/numbers-converting-to-text/20315/4 "2026-07-26T10:16:57Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
