Here is some more info Caridad. I found out that this happens even if I just hard-code a value. It works OK until I put a $ sign in front, then there is some kind of trimming going on.
This is a sample of the hard-coded text which is being inserted. It's just basic numbers, no field values.
< span class="onsale2" >100< /span >
And here are the various values that I tried. On the left is what was inserted, and on the right is what is shown
100 > 100
100.75 > 100.75
$100.75 > 0.75
You can see it's only when a $ sign precedes the number that the problem occurs. It looks like if there is a $ sign then it trims the next two digits that come after it.
I tried leaving a space like this and the entire number does then appear.
$ 100.75