cancel
Showing results for 
Search instead for 
Did you mean: 

Text to Number

Former Member
0 Kudos

I have a String field that I need to calculate. An example of this string is 9,53$ I have removed the "$" with the following

(Replace({VOESHIDO2.TRANSPTOTAL},"$",""))

I am now trying to change the field to a number but the ToNumber will not work. Any ideas how I can modify this field so I can do a summary on it ?

Thanks,

Debbie

Accepted Solutions (1)

Accepted Solutions (1)

ido_millet
Active Contributor
0 Kudos

Val({VOESHIDO2.TRANSPTOTAL})

Former Member
0 Kudos

Val({VOESHIDO2.TRANSPTOTAL}) did the trick....


Thank you,

Debbie

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Try this:

Replace({VOESHIDO2.TRANSPTOTAL},"$"," ")

--dj

Former Member
0 Kudos

It gives me the same results as my formula.

It removes the $ and I get 9,53.....but I now need to do a summary of this field. And this is where it is not working.

Tks,

Debbie

Former Member
0 Kudos

Hi,

Can you please provide example output of your summary field..i.e 9,53

--dj