Hello,

I'm likely overlooking something but I'm having a problem with a Decimal variable dropping a zero which is make the value incorrect.

After a bit math, on other variables, I'm ending up with .9 instead of .09

While debugging, if I display the results of the calcuation it's shows as .09

myResult = someValue / anotherValue * yetAnotherValue

I hope I'm making sense.

Thanks,

Tim

Recommended Answers

All 2 Replies

Please elaborate and show us your code.

Please elaborate and show us your code.

Actually, my problem was with a prior computation. Now I have a different problem. I'll start a new thread for that.

Thanks for the reply.

Tim

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.