Style
Result
Example
bank
Currency format with 2 digits after the decimal
point.
3.14
hex
Hexadecimal representation of a binary doubleprecision number.
400921fb54442d18
rat
Ratio of small integers.
355/113
The display format only affects how numbers are displayed, not how they are stored in MATLAB.
See Also
format
Related Examples
•
“Format Output”
4 Numeric Classes
4-18
Précédent

- 162/1450

Suivant