# Validating latex strings are numbers

**URL:** <https://cl.desmos.com/t/validating-latex-strings-are-numbers/8106>\
**Category:** Questions\
**Tags:** patterns\
**Created:** [July 29, 2025, 7:54pm UTC](https://cl.desmos.com/t/validating-latex-strings-are-numbers/8106 "2025-07-29T19:54:49Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![eeyore](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/eeyore/32/7245_2.png) [@eeyore](https://cl.desmos.com/u/eeyore)\
**Post date:** [July 30, 2025, 1:24am UTC](https://cl.desmos.com/t/validating-latex-strings-are-numbers/8106/4 "2025-07-30T01:24:08Z")

</div>

I think there was a 2020 question about the same thing (ie, `2x` reports as a defined numeric value from 2020.

[Here’s](https://cl.desmos.com/t/restrict-input-to-number/2264) the link. The workaround is pretty horrific for such a seemingly common validation scenario.

I guess that this is just a quirk of Desmos CL?

---

_[View the full topic](https://cl.desmos.com/t/validating-latex-strings-are-numbers/8106)._
