最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
一段自动补位的函数(ASP)
时间:2022-07-02 23:22:49 编辑:袖梨 来源:一聚教程网
一段自动补位的函数
Function FormatSn(getNum,getBit)
Dim FormatsnNum,Formatsnpre,Formatsnj
FormatsnNum = getBit - len(getNum)
For Formatsnj = 1 To FormatsnNum
Formatsnpre = Formatsnpre & "0"
Next
FormatSn = Formatsnpre & getNum
End Function
使用方法 FormatSn(getNum,getBit)
getNum 计数
getBit 共几位
Function FormatSn(getNum,getBit)
Dim FormatsnNum,Formatsnpre,Formatsnj
FormatsnNum = getBit - len(getNum)
For Formatsnj = 1 To FormatsnNum
Formatsnpre = Formatsnpre & "0"
Next
FormatSn = Formatsnpre & getNum
End Function
使用方法 FormatSn(getNum,getBit)
getNum 计数
getBit 共几位
相关文章
- QQ邮箱免登录官网入口在哪 04-07
- 闲鱼二手交易平台-闲鱼官网登录入口 04-07
- AutoCAD2016如何调出工具栏 04-07
- 蚂蚁庄园2026年3月6日题目答案最新 04-07
- 如何在ie11中创建快捷方式 04-07
- jm漫画网页版免费登录攻略-jm网页版漫画畅读指南 04-07