August 30, 2011 at 1:40 pm
I have numbers like 3999.99 should be rounded to 4.0 and 333.33 to 334 .
I tries round function and also =Math.Round(####,0, system.MidpointRounding.AwayFromZero)
I am not gettiong expected result.
Can anyone help me with this???
Thanks,
Komal
August 30, 2011 at 1:48 pm
Math.Ceiling(3.99) will round it up to the nearest integer...is that what you want? so Math.Ceiling(3.09) =4 also.
Lowell
November 17, 2011 at 1:51 pm
I use the STR function where I can, it works like a charm.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply