Posted: Fri Oct 25, 2002 4:04 am Post subject: Problems with CAST function when decimal point is COMMA
Newbie
Joined: 21 Oct 2002 Posts: 5
Hi,
I write you from Spain. Usually in Spain we use the COMMA as decimal point. I have this problem:
I receive in a XML file a tag similar to this:
<TotalPurchaseOrder>12345,97</TotalPurchaseOrder>
In a compute node, I'm using the CAST function to try to convert this string to DECIMAL, in order to know the number of scale digits. MQSI doesn`t work.
But, if I replace manually in the XML file and I change "12345,97" and I write "12345.97" MQSI works fine.
Do you know how to solve this problem? I need to work with COMMA as decimal point.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum