# \#gfcommon::to\_number

**URL:** https://community.gravityforms.com/tag/gfcommon-to-number/1122.md

[Latest](https://community.gravityforms.com/latest.md) · [Categories](https://community.gravityforms.com/categories.md) · [Tags](https://community.gravityforms.com/tags.md)

---

## [Set minimum donation amount \[RESOLVED\]](https://community.gravityforms.com/t/set-minimum-donation-amount-resolved/11901)

<div class="topic-metadata">

**Author:** [@taranarainf](https://community.gravityforms.com/u/taranarainf)\
**Replies:** 2\
**Last updated:** [February 14, 2022, 4:01am UTC](https://community.gravityforms.com/t/set-minimum-donation-amount-resolved/11901 "2022-02-14T04:01:42Z")

</div>

Hello Everyone, I want to know if the below script can be modified to accept the amount in INR (Indian rupees) add\_filter( 'gform\_field\_validation\_225\_8', 'donate\_minimum\_validation', 10, 4 ); function donate\_minimum\_…

---

## [Validating currency field against another currency field](https://community.gravityforms.com/t/validating-currency-field-against-another-currency-field/7868)

<div class="topic-metadata">

**Author:** [@longhead1153](https://community.gravityforms.com/u/longhead1153)\
**Replies:** 1\
**Last updated:** [February 15, 2021, 11:12pm UTC](https://community.gravityforms.com/t/validating-currency-field-against-another-currency-field/7868 "2021-02-15T23:12:39Z")

</div>

Hi, How can I validate a number field against another number field in the same form? Both number fields are set to currency and I want to check that one value is not larger or equal to the other value. I’ve tried the gf…
