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

| عنوان | پاسخ | بازدید | توسط |
| |
0 | 3002 | admin |
| |
0 | 1857 | admin |
| |
0 | 3908 | admin |
| |
0 | 2226 | admin |
| |
0 | 2000 | admin |
function DigitCountR(AValue: Int64): Integer;
begin
if AValue mod 10 = AValue then
Result := 1
else
Result := 1 + DigitCountR(AValue div 10)
end;