[xsde-users] Default notation for float

Cinibulk, Klaus klaus.cinibulk at siemens.com
Tue Jun 28 07:55:08 EDT 2011


Hi,

I'm using XSD/e and I have noticed that the default notiation for float types is "%.6g".

My question is how to change the default notation to %.6f globally for my generated code.

I have seen that the FLT_DIG macro could basically be used to modify the width of the representation,
but nevertheless %g is not what we want ...

Any hints?

Thanks,
Klaus



More information about the xsde-users mailing list