Number to text REAL → TEXT
Writes the number as text, like 2.5 → "2.5".
Source12.5
To
Dest"12.5"
| Tag | After two scans |
|---|---|
| FlowRate | 12.5 |
| FlowTxt | '12.5' |
How it's used
Use it to show a REAL as text, such as a flow rate.
Source12.5
To
Dest"12.5"
| Tag | Value |
|---|---|
| FlowRate | 12.5 |
| FlowTxt | '12.5' |
FlowTxt is the text 12.5.
Operands
| Operand | Data type | Read or write |
|---|---|---|
| Source | REAL or a number | Reads |
| Dest | STRING | Writes |
Common mistakes
- Expecting it to round SourceOnly the text is written. Source does not change.