>- see footer for list info -<
A bit simplistic, but ListFirst() and ListLast()?

Adrian

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Nick Middleweek
Sent: 14 May 2008 18:55
To: Coldfusion Development
Subject: [CF-Dev] -257.14 - Int and Dec


>- see footer for list info -<
Hello,

I have a number, -257.14 and I would like to extract the Integer part and
the Decimal part.

it's a representation of the number of days taken to do something.

So eventually I want to convert it into 257 days 3.4 hours.


I'm used to Int simply extracting the Integer,
http://www.4d.com/4ddoc2004/CMU/CMU00009.HTM

but CF seems to round it?

Does anyone have any clues?


Thanks,
Nick

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to