num2english

버전 1.0.0.0 (2.32 KB) 작성자: Dave Kellow
Converts real numbers to plain english
다운로드 수: 939
업데이트 날짜: 2007/1/8

라이선스 없음

NUM2ENGLISH Convert numbers to plain english.
T = num2english(X) returns the plain english representation of the
number X. If X is a vector, it returns a character array with each
number in a different row.

T = num2english(X,'year') returns a string sounding more like a year,
for instance num2english(1984,'year') will return 'nineteen
eighty-four'. If the third digit is a zero it will return 'oh', so
num2english(1706,'year') returns 'seventeen oh-six'.

T = num2english(X,'th') returns first, second, third etc. instead of
one two three.

T = num2english(X,'example') returns a display of the various aspects
of the function.

인용 양식

Dave Kellow (2024). num2english (https://www.mathworks.com/matlabcentral/fileexchange/13577-num2english), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2006a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Data Type Conversion에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0