Text to number TEXT → LINT
Reads text as a number, like "42" → 42.
Source"5000000000"
To
Dest5000000000
| Tag | After two scans |
|---|---|
| TotalCount | 5000000000 |
| TotalIn | '5000000000' |
How it's used
Use it to read a large total that arrived as text.
Source"5000000000"
To
Dest5000000000
| Tag | Value |
|---|---|
| TotalIn | '5000000000' |
| Total | 5000000000 |
Total is the number 5000000000, more than a DINT can hold.
Operands
| Operand | Data type | Read or write |
|---|---|---|
| Source | STRING or a number | Reads |
| Dest | LINT | Writes |
Common mistakes
- Reading a number that does not fitLINT holds about 19 digits either side of 0.