i = 0 ' 小写数字字符串中数字字符的位置
If snum_len > 15 Then
gMONEY = ""
Exit Function
End If
For i = 1 To snum_len
If i = sint_len Then
GoTo LoopEnd
End If
cbegin = cbegin + 1
cmon = Mid(cmoney, cbegin, 1)
sno = Mid(snum, i, 1)
If sno = "-" Then 'sno
cnum = cnum + "负"
GoTo LoopEnd
ElseIf sno = "0" Then
cnum_end = Right(cnum, 2)
If cbegin = 4 Or (cbegin = 8 And StrComp(cnum_end, "亿", 0) <> 0) Or cbegin = 12 Then
cnum = cnum + cmon
If InStr(1, cnumber, cnum_end, 0) > 0 Then
zflag = 1
Else
zflag = 0
End If 'cnum_end
Else
zflag = 0
End If 'cbegin
GoTo LoopEnd
ElseIf sno <> "0" And zflag = 0 Then
cnum = cnum + "零"
zflag = 1
End If 'sno
cno = Mid(cnumber, Val(sno), 1)
cnum = cnum + cno + cmon
LoopEnd:
Next i
If Right(snum, 1) = "0" Then
gMONEY = cnum + "整"
Else
gMONEY = cnum
End If