Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

Numeric Format Uses C Locale

MATLAB software reads the user locale for all categories except for the LC_NUMERIC category. This category controls numeric data formatting and parsing. MATLAB always sets LC_NUMERIC to the C locale.

For example, some users expect a comma in a number while other users expect a decimal. The value of pi can be displayed as 3.1415 or 3,1415, depending on the format used by a locale. MATLAB always uses 3.1415, regardless of the format specified by the user locale.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS