# Decimal to Integer

Discussion in 'ASP .Net' started by Alper Özgür, Jan 24, 2006.

1. ### Alper ÖzgürGuest

Hi;
I want to convert a decimal to integer. but the problem is i wanna do
convert the value to upper integer value if there is decimal value... For
example if value is 12,01 this must convert to 13; if it's 12,0 then convert
to 12.
Is there any way except Fix method?

Alper Özgür, Jan 24, 2006

2. ### Peter RillingGuest

"Alper Özgür" <> wrote in message
news:...
> Hi;
> I want to convert a decimal to integer. but the problem is i wanna do
> convert the value to upper integer value if there is decimal value... For
> example if value is 12,01 this must convert to 13; if it's 12,0 then
> convert to 12.
> Is there any way except Fix method?
>

Peter Rilling, Jan 24, 2006

3. ### Alper ÖzgürGuest

Thank You

"Peter Rilling" <>, haber iletisinde þunlarý
yazdý:...
>
> "Alper Özgür" <> wrote in message
> news:...
>> Hi;
>> I want to convert a decimal to integer. but the problem is i wanna do
>> convert the value to upper integer value if there is decimal value... For
>> example if value is 12,01 this must convert to 13; if it's 12,0 then
>> convert to 12.
>> Is there any way except Fix method?
>>

>
>

Alper Özgür, Jan 24, 2006