NativeExcel for .Net Developer's Reference

FormulaCompilerSettings.DecimalSeparator Property

Gets or sets the char to use as the decimal separator

[Visual Basic]
Public Property DecimalSeparator As Char
[C#]
public char DecimalSeparator { get; set; }
[C++]
public: __property wchar_t get_DecimalSeparator();
public: __property void set_DecimalSeparator(wchar_t );
[JScript]
public function get DecimalSeparator() : char
public function set DecimalSeparator(char);

Property Value

Char. Default value is '.'.

Example

This example sets '.' as the formula compiler decimal separator.

[C#]
 NativeExcel.Factory.FormulaCompiler.DecimalSeparator = '.'; 

See Also

FormulaCompilerSettings Class | NativeExcel Namespace | Factory.FormulaCompiler property