hi there, my client displays several currencies on their site. i sue the following function for displaying the prices correctly... <cffunction name="LScurrency" output="false" returntype="string" hint="Displays currency for selected country"> <cfargument name="price" type="numeric" required="true"> <cflock scope="session" timeout="30" type="readonly"> <cfset new_price = arguments.price * session.currency_value> <cfset display_price = session.currency_symbol_left & numberFormat(new_price, "_.__") & session.currency_symbol_right> </cflock> <cfreturn display_price> </cffunction> my client now wishes to display japanese yen. now this currency does not use decimal places - whole numbers only. what would be my best approach for displaying yen correctly? thanks.
Kind Regards Mike Little [ Designer ] <http://www.nzsolutions.co.nz/images/signature/signature_051005.gif> Graphic Impact Ponsonby 40 College Hill, Ponsonby, Auckland DDI +64 9 376 7622 Phone +64 9 376 7360 Fax +64 9 376 7361 _____ CAUTION: This e-mail message and accompanying data may contain information that is confidential. If you are not the intended recipient you are notified that any use, dissemination, distribution or copying of this message or data is prohibited. All content is to be treated as confidential unless otherwise specified, and is not to be forwarded to third parties without the prior permission of the author. To do so may breach the New Zealand Privacy Act 1993. If you have received this e-mail message in error please delete it and notify me. Thank you. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221745 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

