Hey folks: working on a function to convert a decimal number to a fraction.
everything's working fine, unless the number passed to the function has MORE than 9 decimal places. If 10 decimal places, i get: Error Occurred While Processing Request Cannot convert 10000000000 to integer The function can be seen here: http://charlie.griefer.com/decimal_to_fraction.cfm Is this something wrong in the code? Or a ceiling on CF and integers? Also...just curious...if you were using this function, and passed .33 to it, would you rather get back 33/100 (accurate), or 1/3 (more generally accepted)? tia, charlie ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4