cancel
Showing results for 
Search instead for 
Did you mean: 

country specific setting

Former Member
0 Kudos

Hi All,

I wanted to know how the country specific settings of a decimal value (eg 12.50 -US : 12,50 -Norway) is handled in .Net & B1.

If my system settings and B1 settings are norwegian, still the DBDatsource.getValue & SetValue return 12.50 instead of 12,50.

The problem complicates more if i use my own functions of replaceing a (.) with (,) and viceversa (eg- setting a double value 12.50 or 12,50 in an edittext bound with database field of type Amt shows it as 12,00)

Please Help

Manu

Accepted Solutions (1)

Accepted Solutions (1)

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Manu,

The configuration of the decimals inside B1 is in the menu: Administration -> System Initialization -> General Settings -> Display

You can also access to the configuration settings from the CompanySettings service (since 2005 version), object AdminInfo -> property DecimalSeparator.

Hope it helps

Trinidad.

Answers (0)