Changeset 8 for trunk/EdcProject.pas
- Timestamp:
- Apr 13, 2026, 11:12:39 PM (2 weeks ago)
- File:
-
- 1 edited
-
trunk/EdcProject.pas (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/EdcProject.pas
r7 r8 147 147 TimeFrom: TDateTime; 148 148 TimeTo: TDateTime; 149 CellValueIn: Double;150 CellValueOut: Double;149 CellValueIn: Currency; 150 CellValueOut: Currency; 151 151 Ean: TEan; 152 152 EanKind: TEanKind; 153 153 Number: string; 154 A: Currency; 154 155 begin 155 156 CSVDoc := TCSVDocument.Create; … … 186 187 187 188 CellValueIn := 0; 188 if TryStrTo Float(CSVDoc.Cells[3 + C * 2, R], CellValueIn) then begin189 if TryStrToCurr(CSVDoc.Cells[3 + C * 2, R], CellValueIn) then begin 189 190 if EanKind = ekConsumption then CellValueIn := -CellValueIn; 190 191 end; 191 192 192 193 CellValueOut := 0; 193 if TryStrTo Float(CSVDoc.Cells[3 + C * 2 + 1, R], CellValueOut) then begin194 if TryStrToCurr(CSVDoc.Cells[3 + C * 2 + 1, R], CellValueOut) then begin 194 195 if EanKind = ekConsumption then CellValueOut := -CellValueOut; 195 196 end;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/edc-stats/chrome/site/your_project_logo.png)