Cheap and nasty:
right("000000000000" & YourValue * 1000, 12)
HTH
Aaron
Aldon Moore wrote:
>I have a dollar value of ($73.60)thats stored in the database as 73.6. I
>would like to format this number and display it as a twelve digits
>("00000007360"). Similarly if the value is 12 the format shoshould be
>(00000001200)
>
>Any help would be appreciated.
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212800
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