If you want to put it in a method, then you can use the java.text.NumberFormat class, which is what StandardFormatter uses.
If you just want the currency symbol in there, you can just put it in the text that you are displaying with the text builder. i.e.
${Variables/RowLoopVar/val1} at $$Variables/RowLoopVar/val2}