Velocity Reviews > Decimal to Integer

# Decimal to Integer

Alper Özgür
Guest
Posts: n/a

 01-24-2006
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
Guest
Posts: n/a

 01-24-2006

"Alper Özgür" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
Guest
Posts: n/a

 01-24-2006
Thank You

"Peter Rilling" <(E-Mail Removed)>, haber iletisinde şunları
yazdı:(E-Mail Removed)...
>
> "Alper Özgür" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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?
>>

>
>