[VB6] Handling decimal data type


When doing with textboxes including decimal data type (for example: 1.123), user will have trouble processing the data. To handle this issue, VB has CDec typecast and user can apply as follow:
Dim myDec As Variant
myDec = CDec(1.234)
Answer from StackOverflow
[VB6] Handling decimal data type [VB6] Handling decimal data type Reviewed by Le Huy Hoang on April 09, 2018 Rating: 5

No comments:

Powered by Blogger.