Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove decimal separator & always have field length at ten

Status
Not open for further replies.

cvgalloway

Technical User
Jul 8, 2008
14
US
I need to find a way to edit a currency field with a formula to remove "," and decimal points and to have the result 10 digits long. For example, 12,866.90 would need to be 0001286690. I cannot simply do this with the "format field" option on the report as that does not actually chance the data but only the way it displays. I need the data changed as it is to be exported.

Thanks
Catherine
 
Try:

totext(tonumber({table.currency})*100,"0000000000")

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top