I have a UDT tag with float type & data is coming directly from PLC. I am getting the decimal points up to 8 digits. I want to restrict this to 3 digits max. For example: 12.093383; I want to limit it to 12.093 only. How to do this… This is a real time tag,
You control the display format of the number. See the “Number Format Pattern” property in components like the Numeric Label, and the numberFormat() expression function. You can’t actually “fix” the number in most cases since fractional values are stored in binary and humans use decimals.