Skip to main content

Float

Float variables, also known as floating-point variables, are a data type used to represent decimal numbers with a large range of values. They can be used to measure and control physical processes that require high precision.

Define a Variable Using the Context Menu

  1. Change to the Data View.

  2. Right-click the Data or any other folder in your HMI Data View.

  3. Choose Add Variable.

  4. Choose the type Float.


Augment a Variable With Additional Metadata

Note:

Float variables do not support Enumerations.

If you want to define Numeric Data Variables that can be restricted to certain values, you have to use Integer.