文章正文: s-要分栏的数字 N 分栏为1 角为2 元为4 十为5……. 依次类推 Function Get_s(ByVal s As Variant, ByVal n As Variant) As Variant Dim I As Variant If s = 0 Then Exit Function End If I = Len(s) ‘取数字长度 If I < 3 Then ’没小数位,补2位小数 s = s & ".00" End If |
|站长邮箱|小黑屋|手机版|Office中国/Access中国 ( 粤ICP备10043721号-1 )
GMT+8, 2024-4-28 03:37 , Processed in 0.073423 second(s), 16 queries .
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.