Will, >This is driving me nuts! > >No matter what I do, CF gets rid of a much-needed leading 0 in the last 4 >digits of a CC #. > >The variable looks good before sending it into a CFC, then I dump the >arguments, and the leading 0 is gone. I have the argument type set to >string. > ><cfargument name="last4digits" type="string"> > >What do I do about this? Or what am I doing wrong?
Why not just use the NumberFormat() function to ensure the padding stays correct? -Dan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256760 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

