# Bug: Sp-textfield number rounding issue

**URL:** <https://forums.creativeclouddeveloper.com/t/bug-sp-textfield-number-rounding-issue/5346>\
**Category:** UXP Plugin API\
**Tags:** bug\
**Created:** [October 14, 2022, 4:56pm UTC](https://forums.creativeclouddeveloper.com/t/bug-sp-textfield-number-rounding-issue/5346 "2022-10-14T16:56:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kbsanders](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/kbsanders/32/2388_2.png) [@kbsanders](https://forums.creativeclouddeveloper.com/u/kbsanders)\
**Post date:** [October 14, 2022, 4:56pm UTC](https://forums.creativeclouddeveloper.com/t/bug-sp-textfield-number-rounding-issue/5346/1 "2022-10-14T16:56:04Z")

</div>

**Tested On:**  
Photoshop 24.0.0  
UXP Version: 6.3.3

Photoshop 23.5.0 (API Version: 2)  
UXP Version: 6.2.1

**Issue:**  
I noticed when using an `<sp-textfield type="number">` element and entering the value `36.23` it will change the value to `36.22` when the field loses focus. It is possible that this happens with other numbers as well.
