Hi All,
 
Is there a way of temporarily changing the Regional Settings decimal separator from say a comma "," if the user sets Spain for example to a period "."?
 
I have a 3rd party control that is fixed to use a perod.
 
I think I could maybe use double.parse(data1, NumberFormatInfo) to convert the double data1 to replace the comma with a period provided I first define the NumberFormatInfo decimal separator to be a period.
 
Any ideas?
 
Please don't suggest converting the data1 to a string then replacing the "," with a "."
 
Tried that and Windows Regional Settings knows data1 is a double and changes it back when I send data1 to the 3rd party control.
 
Help!
 
Chris
	
		
			
		
		
	
				
			Is there a way of temporarily changing the Regional Settings decimal separator from say a comma "," if the user sets Spain for example to a period "."?
I have a 3rd party control that is fixed to use a perod.
I think I could maybe use double.parse(data1, NumberFormatInfo) to convert the double data1 to replace the comma with a period provided I first define the NumberFormatInfo decimal separator to be a period.
Any ideas?
Please don't suggest converting the data1 to a string then replacing the "," with a "."
Tried that and Windows Regional Settings knows data1 is a double and changes it back when I send data1 to the 3rd party control.
Help!
Chris
 
	 
 
		 
 
		