Numbers Display Period for Decimal Point for All Locales - MATLAB & Simulink (original) (raw)
Main Content
MATLABĀ® reads the user locale for all categories except for thenumeric
category (which is equivalent withLC_NUMERIC
). This category controls numeric data formatting and parsing. MATLAB always sets LC_NUMERIC
to the C
locale.
MATLAB uses a period for a decimal point, regardless of the format specified by the user locale. For example, the value of pi can be displayed as3,1416
or 3.1416
, depending on the format used by a locale. MATLAB always displays 3.1416
.
The MATLAB language reserves the use of commas to the cases described in the Symbol Reference topic.