Thanks, but you haven't got my problem.I have exactly what you posted (except that my format is '$#.##0,00'). It works fine, but does not respect non-significant zeros to the left/right, if present. I cannot insert extra 0's if they're not present (except for the basic ones - 0,00). I need a generic format that handles all cases.Examples of inputs/outputs that I need:1.6 => $1,602638.643 => $2.638,6431234567.89 => $1.234.567,8900001.9 => $00.001,9023.934000 => $23,9340000000037.3600000 => $0.000.037,3600000That IS weird, but that's what I need I was checking on what I can do with XSLT, and I'm afraid the only solution is to generate the format I need for every input. It sounds like a very dirty workaround, but I haven't found any other alternative. What I have in mind till now is:- use translate to turn all the input numers to 0's- split it into integer and decimal parts (with substring-after/before)- integer part: make sure it contains at least one 0, and if it contains at least 4 characters, insert a '.' in the 4th position from the right (still have to figure out how to do this)- decimal part: make sure it contains at least two 0- concat the two parts again, with a ',' between themSounds bad, doesn't it?If anyone can point out a better solution, I really appreciate!Thanks again!