how can i make 2.74890 to 2.75???
pls helppppp!!!!
This is a discussion on how to round-off decimals? within the C# Programming forums, part of the General Programming Boards category; how can i make 2.74890 to 2.75??? pls helppppp!!!!...
how can i make 2.74890 to 2.75???
pls helppppp!!!!
Is this "presenting" (i.e. displaying to user) or for "continuing to calculate with the modified number"?
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Use the Math.Round method
tnx./...
for continuing to calculate w/ the modifiied number....
and how bout making 2.74568 to 2.74 , meaning i wil not round it off. il just drop '568'