image thumbnail

somme in letter

version 1.0.0.0 (3.1 KB) by Azzi Abdelmalek
wtite with letter an amount of money given in number

305 Downloads

Updated 27 Jul 2012

View License

u=num2let(n,Dinar,centime,langage);
n :your number example : n=124.547
n must be < 1000 000 000 000;
Dinar is your money example Dinar='Dollar';
centime is a hundredth of your monnaie example centime='Cent'
langage must 1 (english) or 2 (french)
Example u=num2let(275.547,'Dollar','cent',1) returns
two hundred and seventy-five Dollars and fifty-four cents
u=num2let(275.547,'Dollar','cent',2) returns
deux cents soixante-quinze Dollars et cinquante-quatre cents
u=num2let(n); will set default parameters : Dollar, Cent and 1

Cite As

Azzi Abdelmalek (2022). somme in letter (https://www.mathworks.com/matlabcentral/fileexchange/37645-somme-in-letter), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories

Community Treasure Hunt

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

Start Hunting!