标签:mint while random nbsp 随机 randomint new length str
1.随机数取得
RandomGenerate objRG = new RandomGenerate();
objRG.randomInt();
2. 填0
int length;
while (strLen(s_TmpNum) < length)
{
s_TmpNum = strFmt("0%1", s_TmpNum);
}
标签:mint while random nbsp 随机 randomint new length str
原文地址:http://www.cnblogs.com/fogfog/p/6065178.html