how can i get the numbers with positive and negative values from a text list and sum them all
Quote from: 5tr1x on April 21, 2020, 09:52:22 pmhow can i get the numbers with positive and negative values from a text list and sum them allThe same question was asked in the Embarcadero Delphi forum yesterday (I assume by you?), and the same answer given here was given there, too - use StrToFloat().
Actually, use TryStrtoFloat when reading from a text file. That is safer.
Alternatively, use one of the helpers for simple types