So I was trying to troubleshoot something, and I noticed that string-length for decimal questions stopped behaving as expected for longer numbers.
Here was my set-up:
![abureaux_2-1709052043246.png abureaux_2-1709052043246.png](https://community.esri.com/t5/image/serverpage/image-id/96010iE29B3D3432A0D943/image-size/medium?v=v2&px=400)
And results:
![abureaux_7-1709052196796.png abureaux_7-1709052196796.png](https://community.esri.com/t5/image/serverpage/image-id/96015i1D6FAA497558E111/image-size/medium?v=v2&px=400)
![abureaux_8-1709052204304.png abureaux_8-1709052204304.png](https://community.esri.com/t5/image/serverpage/image-id/96016i83DDBBECE3104BCB/image-size/medium?v=v2&px=400)
At a certain point, string-length() stops working properly on decimal fields. It's misleading, because it does work for smaller character counts, but then stops working around 15ish characters.
- All "1" breaks at 22 characters
- All "9" breaks at 15 characters
I thought, "well, convert decimal to string and problem solved?". Nope. In this example, I first convert the value to a string:
![abureaux_10-1709052395823.png abureaux_10-1709052395823.png](https://community.esri.com/t5/image/serverpage/image-id/96020i84933F62C8A627F1/image-size/medium?v=v2&px=400)
![abureaux_9-1709052364044.png abureaux_9-1709052364044.png](https://community.esri.com/t5/image/serverpage/image-id/96019i29676B29DEF86D1D/image-size/medium?v=v2&px=400)