I wrote a UDF that uses the log10 function and I noticed something was a bit fishy.  
When I isolated the log10 function and fed it 31 it spit out 1.49136169383.  When I 
fed it 32 it spit out 3.  (I was expecting something more like 1.50514997832.)  I went 
to cflib like what was suggested in a previous message and picked up logN.  At first 
this was looking better but then I noticed something fishy once again.  I noticed that 
when the input value is 9 on base 10 [logN(9,10)] it returned 9.  My calculator comes 
up with 0.95424250943932 which seems much more reasonable.  What can I do short of 
using cfx if I need something that can do logarithms?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to