Im using Jibx to write my own binding for my java objects. Below is the block from my binding xml for a bigdecimal field.
....
<structure field="testVO">
<value name="joiningBonus" field="joiningBonus"/>
</structure>
....
On Marshalling im getting the Bigdecimal value with more decimal values. Below is the block of the output xml.
....
<joiningBonus>12345.45639999999912106432020664215087890625</joiningBonus>
....
If i want Bigdecimal(21,6) precision, how to achieve it??