Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15215

decimal point

$
0
0
Hi

I am using an access database which seems to use a comma as the decimal point. When I import a number into a textbox in the vb program using
Inrmvamendpt.Text1(1).Text = Format(!Y - CNY, "#####.000")
Inrmvamendpt.Text1(2).Text = Format(!X - CNX, "#######.000")
it brings the number into the textbox with a comma decimal point although above shows a decimal point.

My question is firstly how do I convert access to store numbers with a point decimal and not a comma
or
secondly how is the above instruction to use a decimal point being overwritten to show a comma.

I have used this software for over 20 years but this problem has only showed up when used on a windows 10 computer

Viewing all articles
Browse latest Browse all 15215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>