NativeExcel2 for .Net Developer's Reference

FormulaCompilerSettings.DecimalSeparator Property

Gets or sets the char to use as the decimal separator

[Visual Basic]
PublicPropertyDecimalSeparatorAsChar
[C#]
publiccharDecimalSeparator{get;set;}
[C++]
public:__propertywchar_tget_DecimalSeparator();
public:__propertyvoidset_DecimalSeparator(wchar_t);
[JScript]
publicfunctiongetDecimalSeparator():char
publicfunctionsetDecimalSeparator(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