VBnet Question Blank Title 52048

Thanks, I am always trying to make things more complicated than they
are.
This is what I did & it works nice:
Dim FootageForm As Decimal
FootageA = Footage + .99
FootageForm = Format (FootageA, "#,###,###")

--- In vantage@yahoogroups.com, "Todd Caughey" <caugheyt@...> wrote:
>
> Add .99 and truncate the decimal places?
> -Todd C.
>
> -----Original Message-----
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]On
Behalf Of Michael McWilliams
> Sent: Thursday, September 28, 2006 12:31 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] VBnet Question
>
>
>
> I am trying to perform a rounding function using VB.net
> I am not a programmer just creating some script for some forms.
> I have a value that I always want to round up to the next whole
number.
> EX. 1000.01 should be 10001 abd 1000.9 should be 10001.
> Is there some type of math function that will do this?
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
I am trying to perform a rounding function using VB.net
I am not a programmer just creating some script for some forms.
I have a value that I always want to round up to the next whole number.
EX. 1000.01 should be 10001 abd 1000.9 should be 10001.
Is there some type of math function that will do this?
Add .99 and truncate the decimal places?
-Todd C.

-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]On Behalf Of Michael McWilliams
Sent: Thursday, September 28, 2006 12:31 PM
To: vantage@yahoogroups.com
Subject: [Vantage] VBnet Question



I am trying to perform a rounding function using VB.net
I am not a programmer just creating some script for some forms.
I have a value that I always want to round up to the next whole number.
EX. 1000.01 should be 10001 abd 1000.9 should be 10001.
Is there some type of math function that will do this?







[Non-text portions of this message have been removed]
Yes use, System.Math.Ceiling(1000.01)



Regards

Stephen Edginton



________________________________

From: Michael McWilliams [mailto:mmcwilliams22@...]
Sent: 28 September 2006 18:32
To: vantage@yahoogroups.com
Subject: [Vantage] VBnet Question



I am trying to perform a rounding function using VB.net
I am not a programmer just creating some script for some forms.
I have a value that I always want to round up to the next whole number.
EX. 1000.01 should be 10001 abd 1000.9 should be 10001.
Is there some type of math function that will do this?



[Non-text portions of this message have been removed]