# \#to\_number

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

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

---

## [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…
