is your confirmation field set as text? I played with this a bit and was able to find a simple solution I had to fields, field1 was a number, set to double and currency. field2 was plain text. I set default value of field2 to = this
concat("$", substring-before(field1, "."), ".", substring(substring-after(field1, "."), 1, 2))
give it a try and let me know