¡¡

Ä«Å×°í¸®    À¯¿ëÇÑ ÇÔ¼ö Á¶È¸:2742
 Á¦¸ñ   'Count The Number Of Digits In A Number

 'Count The Number Of Digits In A Number

 'Insert the following code to your form:

Private Function GetDigitCount(inValue As Double) As Double
GetDigitCount = Int(Log(inValue) / Log(10)) + 1
End Function

Private Sub Form_Load()
 'Replace '123456789' with the number you want to count its digits
MsgBox GetDigitCount(123456789)

Copyright By AccessVision