Hello! I'm a long-time SQLServer developer, but new to XML.
I find myself doing some XML related to EDI messages.
When you have a field containing a dollar amount, what format should you use in the XSD
We've been using decimal.
But that's just half the question!
When the XML comes in and there is a round dollar amount, we've been getting the data in integer format, a five dollar order just looks like <mytotal>5</mytotal>.
Wouldn't it seem like a best practice to make this <mytotal>5.00</mytotal>
Thanks.
Josh