Text to number TEXT → LINT

Reads text as a number, like "42" → 42.

TagAfter two scans
TotalCount5000000000
TotalIn'5000000000'

How it's used

Use it to read a large total that arrived as text.

TagValue
TotalIn'5000000000'
Total5000000000

Total is the number 5000000000, more than a DINT can hold.

Operands

OperandData typeRead or write
SourceSTRING or a numberReads
DestLINTWrites

Common mistakes

  • Reading a number that does not fitLINT holds about 19 digits either side of 0.