Hi, I'm having problems properly setting up the currency values through .NET API (v. 7.5)
My culture specific delimeter for decimal values is ",". And my code snippet looks like: string price = "12,34"; CultureInfo culture = new CultureInfo("pl-PL"); decimal value = Convert.ToDecimal(price, culture); BMC.ARSystem.CurrencyValue cv = new BMC.ARSystem.CurrencyValue(value, "PLN"); instance.Add("UnitPrice", cv, BMC.ARSystem.Constants.AR_DATA_TYPE_CURRENCY); context.SetInstance(className, instance); which gives me an error: BMC.ARSystem.ARException: Error (120147): Bad decimal value was supplied;Attr Name: UnitPrice --- The curreny value is not a valid decimal value Changing the CultureInfo to "en-US" sets the UnitPrice to 1 234,00 PLN Playing with the different decimal conversion or currency codes ("USD") doesn't help either. Any help would be appreciated. Marek _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"