Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

In my program CWNumEdit shows 14,5 when I write 14.5.

In my program CWNumEdit shows 14,5 when I write 14.5. I would like the control to show decimals as dots. How do I solve this problem_
0 Kudos
Message 1 of 6
(3,525 Views)
There is no setting I know of in CWNumEdit that allows you to set the format like this. We do have several format strings you can set under the FORMAT TAB on the property pages for the CWNumEdit.
I think you may have to change the Regional Settings under your Windows OS. This can be done through the control panel. Depending on the language you select, numbers can be represented in different formats.

Daniel McChane
Application Engineer
National Instruments
0 Kudos
Message 2 of 6
(3,525 Views)
What is the locale of the machine that you see this on? You can find the locale setting by going to Control Panel, selecting Regional Options, and look under "Your locale" under the General tab.

- Elton
0 Kudos
Message 3 of 6
(3,525 Views)
The locale settings of my computer is: English(USA).

//Ulrika
0 Kudos
Message 4 of 6
(3,525 Views)
What are the decimal symbol and digit grouping symbol settings under the Numbers tab? Also, what are the decimal symbol and digit grouping symbol settings under the Currency tab?

- Elton
0 Kudos
Message 5 of 6
(3,525 Views)
Here is the settings under the Numbers tab.
Decimal symbol: .
Digit grouping symbol: ,

Here is the settings under the Currency tab.
Decimal symbol: .
Digit grouping symbol: ,

//Ulrika
0 Kudos
Message 6 of 6
(3,525 Views)