In the example below:
<pre>if(ssParseNumssParseNumFromCurrency(form.getStr("cf_Store Valuecf_myCADcurrency"),"@sslocale@",1,true) > 5){ result.isPassed=false; result.addMsg('Some message here');}if(ssParseNumFromCurrency(form.getStr("cf_myDKKcurrency"),"da-DK",1,true) > 5) { result.isPassed=false; result.addMsg('Some message here'); }</pre>
If custom field is a currency and the format will change based on different locales, use ssParseNumFromCurrency(value,locale,getnumtype,emptyok):