E130 replaceall and French numbers

Options
Ive been using this code as part of our progress meter.


[[E130:"[[E42:[[S80:trID]]:dollars]]" "$" "" replaceall "," "" replaceall [[E42:[[S80:trID]]:goal]] "$" "" replaceall "," "" replaceall / 100 * int]]


it works fine on our English pages but not on our French ones. I believe it has to to do with the difference in number formats and spaces within the French format. (French numbers are displayed as xx xxx,xx $, for example)


I did some testing and pared down the code to try and isolate the issue. Using this code, I've been trying to remove the space but it doesn't seem to work. Is there a special way to identify spaces in the code?


[[E130:"[[S42:4964:dollars]]" "$" "" replaceall "," "." replaceall " " "" replaceall]]


Thanks,

Matt
Tagged:

Categories