Skip to main content
Nintex Community Menu Bar

Problem with Smart Object and Decimal

  • September 10, 2008
  • 2 replies
  • 12 views

Forum|alt.badge.img+3

Hi

I have a Smart Object which has a decimal property. I want to set it in my code. I tried with a dot and a comma as decimal separator (100.1 and 100,1) but i always have a SmartObject Exception.

My SQL Server is US but coding is french (ie comma as decimal separator).

 

Anyone has an idea ?

Thanks for your replies 

2 replies

Forum|alt.badge.img+9
  • Nintex Partner
  • September 11, 2008

Hmm, besides the obvious solution to run your code on a US locale server, the other *possibility* perhaps would be to change the culture of the app (or page).


The following links might be helpful.


http://bytes.com/forum/thread333686.html


http://en.csharp-online.net/Localization_Like_the_Pros%E2%80%94Globalization_and_Localization_with_ASP.NET


 


Forum|alt.badge.img+3
  • April 9, 2009

I just saw that the smartobject has every property value exposed as a string which is (IMHO) a poor choice for the client API.

It makes passing number and date values a real pain from my client application to the smart object service broker.

Is there any rationale for that?

Is there any way to get smart object property value exposed as object? (like it works for data fields)