Foxtable(狐表)用户栏目专家坐堂 → [求助]


  共有2240人关注过本帖树形打印复制链接

主题:[求助]

帅哥,在线噢!
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:110744 积分:563646 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2017/12/6 12:12:00 [显示全部帖子]

函数

dim n  = args(0)
Dim ary1 As String() = {"壹", "贰", "拾", "佰"}
Dim ary2 As String() = {"一", "二", "十", "百"}
Dim str As String = CUNumber(n)
For i As Integer = 0 To ary2.length -1
    str = str.replace(ary1(i), ary2(i))
Next
return str

调用
dim s as string = Functions.Execute("函数名称",112)
msgbox(s)

 回到顶部