We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Regional settings effect parse and compute

Thread ID:

Created:

Updated:

Platform:

Replies:

106745 Jan 23,2013 03:37 PM Jan 25,2013 06:41 AM Windows Forms 1
loading
Tags: Calculate
Tom Loder
Asked On January 23, 2013 03:37 PM

I am using CalcQuick and the ParseAndCompute method to parse a formula. The formula:
2 * SQRT( 11 )
will not work if the computer is set to Croation regional settings (i.e. commas as dec seperators)
but the formula
2 * (11) ^ (1/2)
does work.
 
Any ideas why???

Arun Kumar V [Syncfusion]
Replied On January 25, 2013 06:41 AM

Hi Tom,

Thanks for your interest in Syncfusion Products.

Query:

Culture info problem.

changing the values in these static properties CalcEngine.ParseDecimalSeparator,

 CalcEngine.ParseArgumentSeparator (depanding upon the culture) itself will solve this reported issue. It seems you have created an incident regarding the same query. Please follow up that incident we will assist you on that incident.

Please let me know if you have any other concerns.

Regards,

Arun.

 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;