crogers111
Technical User
CR XI
SQL
I've removed the dollar sign, decimal and commas:
replace(replace(replace(totext({Data.AmountPaid}),"$",""),",",""),".","")
but can't get this formula to format to 7 characters.
e.g
7.00 should be 0000700
0 should be 0000000
700 should be 0070000
123.57 should be 0012357
I thought the following would do it:
replace(replace(replace(totext({Data.AmountPaid},"0000000"),"$",""),",",""),".","")
it formats to 7 but truncates the decimals
and this doesn't do the trick either:
replace(replace(replace(totext({Data.AmountPaid},2, "0000000"),"$",""),",",""),".","")
What am I missing ?
SQL
I've removed the dollar sign, decimal and commas:
replace(replace(replace(totext({Data.AmountPaid}),"$",""),",",""),".","")
but can't get this formula to format to 7 characters.
e.g
7.00 should be 0000700
0 should be 0000000
700 should be 0070000
123.57 should be 0012357
I thought the following would do it:
replace(replace(replace(totext({Data.AmountPaid},"0000000"),"$",""),",",""),".","")
it formats to 7 but truncates the decimals
and this doesn't do the trick either:
replace(replace(replace(totext({Data.AmountPaid},2, "0000000"),"$",""),",",""),".","")
What am I missing ?