W. Adam,
Have you tried the System.Math.Ceiling & System.Math.Floor functions?
Math.Ceiling returns "the smallest whole number greater than or equal to the
specified number", which means for -1.5 it returns -1, where as for 9.46 it
returns 10.0.
Math.Floor returns "the largest whole number less than or equal to the
specified number", which means for -1.5 it returns -2, where as for 9.65 it
returns 9.
Hope this helps
Jay
"W. Adam" <wa****@poczta.onet.pl> wrote in message
news:S%*********************@newssrv26.news.prodig y.com...
How do round up to nearest dollar in VB.Net.(to the next dollar price). If
i get 9.46 or 9.65, i need to round up to 10.00
Thanks in Advance