or..
 
decimal = num - FIX(num)

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Tuesday, 19 August 2008 6:41 PM
To: [email protected]
Subject: [cfaussie] Fractional Part



Im having a bad night,

 

How do I get the fraction from a number

 

10.4

 

I want the .4

 

I don't want to use listLast(num, ".") because the number might just be 10.

 

I know I could do ftp = variable - int(variable) but I thought there was a
CF function for this but cant find it.

 

Regards

Dale Fraser

http://learncf.com <http://learncf.com/> 

http://flexcf.com <http://flexcf.com/> 

 

 





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to