VBdotnet2005
asked on
Double
How can I get a result like : 19.53 % instead of 19.53125% when dividing number and get a %?
dim i as integer = 100
dim x as integer = 5.12
dim tl as double ?
tl = i / x
dim i as integer = 100
dim x as integer = 5.12
dim tl as double ?
tl = i / x
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
tl = CDbl(i) / CDbl(x)