Is there any good way to have a function like this included in all pages? I can't put it in application.cfc.
<cfscript> function MyDecimalFormat(some_value) { // call DecimalFormat to handle rounding, then strip out commas return Replace(DecimalFormat(some_value),",","","ALL"); } </cfscript> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328629 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4