int2strn
Version 1.0.0.0 (1.37 KB) by
Phillip M. Feldman
convert integer to string, using either integer or exponential format
int2strn(n,k,p) converts the number n to a string, expressing n in integer format if it can be written using k digits or less, and otherwise in exponential format with precision p. The default values of k and p are 6 and 3, respectively. When numbers are written in exponential format, extraneous leading zeros in the exponent are suppressed.
Cite As
Phillip M. Feldman (2024). int2strn (https://www.mathworks.com/matlabcentral/fileexchange/18538-int2strn), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2007b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Characters and Strings in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |