How to convert number to text in thousand format?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Pete sherer
am 29 Okt. 2021
Beantwortet: Pete sherer
am 1 Nov. 2021
tt = strtrim( string(num2str( [2598.32 256 23125]', '%1.2f')))
tt =
3×1 string array
"2598.32"
"256.00"
"23125.00"
Want result to be
"2,598.32"
"256.00"
"23,125.00"
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Characters and Strings finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!