BizTalk Server Orchestration - Problems with Cumulative Sum Functoid and CultureInfo

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > November 2005 > Problems with Cumulative Sum Functoid and CultureInfo





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problems with Cumulative Sum Functoid and CultureInfo
nets-rac

2005-08-26, 5:55 pm

Hi,

I have a xml schema with an element of type double and I use the
cumulative sum functoid to calculate the sum of these elements.
The problem is that the values in the xml file are in german format
with a comma (e.g. 9,6 or 4,8).
The result of the cumulative sum is (with the values 9,6 and 4,8) 144
instead of 14.4 (or 14,4).
So, is there a possibility to set a specific culture to get the correct
value in the correct format (14,4)? Or is there an other workaround?

Thanks,
nets-rac

abby

2005-11-18, 5:52 pm

Hi,

I am not sure of who to change culture for particular functoid.
But you can used string functoids or you can right custom C# script for
this. Please let me know if you need sample code for that.

abby

"nets-rac" wrote:

> Hi,
>
> I have a xml schema with an element of type double and I use the
> cumulative sum functoid to calculate the sum of these elements.
> The problem is that the values in the xml file are in german format
> with a comma (e.g. 9,6 or 4,8).
> The result of the cumulative sum is (with the values 9,6 and 4,8) 144
> instead of 14.4 (or 14,4).
> So, is there a possibility to set a specific culture to get the correct
> value in the correct format (14,4)? Or is there an other workaround?
>
> Thanks,
> nets-rac
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com