Guys whats going on here?
1 Like
2 Likes
Thanks a lot Nithin
Appreciate it
1 Like
Now I have a problem: when I convert to CINT i lose my decimal values, I need them:
When I try to multiply Cint with DOuble doesnt work, so annoying
1 Like
I just converted the double to int and then divide by 100.
1 Like
@hurmet.noka , Please do note that we would use CDbl()
instead of CInt()
for all Numeric Operations, since the Resultant Maybe a Double value.
As you mentioned, we would lose actual values if used CInt()
. When we do not know the Resultant value, we convert it to a larger storage Data type, and then if needed we convert it to the lower Data types.
1 Like
Thank You, Appreciate it
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.