# OPC tag decimal

**URL:** <https://forum.inductiveautomation.com/t/opc-tag-decimal/52263>\
**Category:** Ignition\
**Tags:** ignition80, vision, scripting\
**Created:** [October 22, 2021, 10:11pm UTC](https://forum.inductiveautomation.com/t/opc-tag-decimal/52263 "2021-10-22T22:11:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![antonio.sanchez](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@antonio.sanchez](https://forum.inductiveautomation.com/u/antonio.sanchez)\
**Post date:** [October 22, 2021, 10:11pm UTC](https://forum.inductiveautomation.com/t/opc-tag-decimal/52263/1 "2021-10-22T22:11:08Z")

</div>

Hello to all

I have a PLC variable of type Short , which I am using an OPC Tag of type Float and I am passing this information to a TextField component.

But it shows me an integer and the PLC variable contains a decimal number.

in the example we see the following amount 1,510 but the amount contained in the PLC is 151.0

 ![1](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/d/2d3a76d23aec766c42d0be9e8dba13e9512284e7.png)

 ![2](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/c/2c50178288cc31affb91dfa591fdc33f11e2e6a8.png)
