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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

delete leading zeros

Status
Not open for further replies.

kcsilentbob

Technical User
Joined
Dec 14, 2005
Messages
42
Location
US
hello everyone
Running on Crystal XI

I am pulling in a field that returns data like:

"0000012355"
"0001234567"

I have used the CDbl({field}) to cut the zero's out, but now I need to change this to a currency. I need the above field to read:
"123.55"
"12345.67"

Please help!
 
Try:

$(cdbl({table.string})/100)

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top