function FormatDate(const Value: Integer): String;
const
DigitCn: WideString = '○一二三四五六七八九';
var I: Integer;
begin
Result := IntToStr(Value);
for I := 0 to 9 do
Result := StringReplace(Result, IntToStr(I), DigitCn[I+1], [rfReplaceAll]);
end;
//demo~~
Edit1.Text := FormatDate(1999);
const
DigitCn: WideString = '○一二三四五六七八九';
var I: Integer;
begin
Result := IntToStr(Value);
for I := 0 to 9 do
Result := StringReplace(Result, IntToStr(I), DigitCn[I+1], [rfReplaceAll]);
end;
//demo~~
Edit1.Text := FormatDate(1999);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货