title: Variable using decimal comma instead of decimal point
body: <p>I have been using Excel VBA for a while now and I have come across a problem that I have never encountered before. I am using someone elses computer that is set up as Polish, so the decimal separator is set to comma. But even when I had my computer set up similarly in the past I did not have any problem.</p>
  
  <p>This current project creates a drawing in Visio.</p>
  
  <p>So, </p>
  
  <p>I have a variable of type double that is calculated as <code>pgeWidth = 550 / 1.4</code></p>
  
  <p>What I would expect is that VBA would calculate <code>pageWidth = 392.857...</code> 
  However what VBA is doing is <code>pgeWidth = 392,857...</code> If I put a break in and check the value of pgeWidth it shows the value with a comma separator. pgeWidth is then set to the page width property in Visio which thinks it should be 392857.... mm wide which obviously gives an error. </p>
  
  <p>Why is VBA using a comma decimal separator instead of a point?</p>