[VBA] 소수점 자릿수 계산
·
[VBA]
Dim digit As Integer Dim num As Double num = 123.456 digit = Len(CStr(num)) - InStr(CStr(num), ".")