Sha256: 7fc06599355484f6b9a23214d32671f78c5e8b73e8d215de02e844a2bd79f87b

Contents?: true

Size: 170 Bytes

Versions: 163

Compression:

Stored size: 170 Bytes

Contents

function DigitSum(AValue: Int64): Integer;
begin
  if AValue mod 10 = AValue then
    Result := AValue
  else
    Result := (AValue mod 10) + DigitSum(AValue div 10)
end;

Version data entries

163 entries across 163 versions & 1 rubygems

Version Path
trackler-2.2.1.18 tracks/delphi/docs/SNIPPET.txt
trackler-2.2.1.17 tracks/delphi/docs/SNIPPET.txt
trackler-2.2.1.16 tracks/delphi/docs/SNIPPET.txt