3.7.5.78 System.Numeric

LabTalk Object Type:

Utility

The numeric object is a sub-object of the system object. The numeric object properties allow you to read and alter numeric settings which are set in the OPTION.CNF file. These settings can also be accessed in the Options dialog box.


Properties:

Property Access Description
system.numeric.formulaSmartFuncArgSep Read/write,
numeric

If you are using the German language version of Origin or you have set Preference: Options: Numeric Format tab, Separators = 1.000,0 (system.numeric.separators=2), Origin will recognize a comma as decimal mark and use a semicolon for separating function arguments in these Origin tools.

If you do prefer to use default English Origin settings in these tools (decimal separator is a period (".") and comma is used to separate function arguments), you can set

system.numeric.formulaSmartFuncArgSep=0; // the default value is 1

See system.numeric.scriptSmartFuncArgSep

system.numeric.numDecDigits Read/write,
numeric

Number of digits displayed after the decimal point. Data values that exceed this number are rounded off. However, the actual values are used in calculations.

system.numeric.scriptSmartFuncArgSep Read/write,
numeric

If you are using the German language version of Origin or you have set Preference: Options: Numeric Format tab, Separators = 1.000,0 (system.numeric.separators=2), Origin will recognize a comma as decimal mark and use a semicolon for separating function arguments in these Origin tools.

If you do prefer to use default English Origin settings (decimal separator is a period (".") and comma is used to separate function arguments) in the Script Window, Command Window and LabTalk Console (in Code Builder), you can set

system.numeric.scriptSmartFuncArgSep=1; // the default value is 0
system.numeric.separators Read/write,
numeric

Numeric separator for data display: 0 = Windows Settings, 1 = 1,000.0, 2 = 1.000,0, 3 = 1 000,0, and 4 = 1'000.0.

system.numeric.sigDigitsL Read/write,
numeric

Lower threshold for conversion from decimal to scientific notation.

system.numeric.sigDigitsU Read/write,
numeric

Upper threshold for conversion from decimal to scientific notation.