Need help with rounding in VB.Net - TechRepublic
General discussion
January 13, 2003 at 07:27 PM
soulman918

Need help with rounding in VB.Net

by soulman918 . Updated 23 years, 5 months ago

Good day everyone,
I’m a newbie with VB.net and hope that someone may be able to help me. I’m trying to create a simple calculator program that will round numbers to two decimals. i.e. $126.457 to $126.46

Is there an easier way to do this other then the decimal.round method? I have been trying to use it and I just figured out that you literally have to type in the decimal amounts and what you want it rounded to.

Any help would be appreciated.

Soulman918

This discussion is locked

All Comments