Skip to content

emrahyumuk/NUT-number-to-text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

NUT - Number To Text


Number To Text Converter

Money To Text Converter

Supported Languages: English, French, Russian, Spanish, Turkish, Ukrainian, Bulgarian, Amharic, Polish, Belarussian, Portuguese.

Supported Currencies: EUR, USD, RUB, TRY, UAH, BGN, ETB, PLN, BYN, ARS, BRL.

Number Limit: 1 trillion


USAGE - Number To Text

    var number = 123456
    var text = number.ToText("en");

    var number = 123456;
    var text = number.ToText(Language.English);

USAGE - Money To Text

    var number = 123456.78
    var moneyText = number.ToText("usd", "en");

    var number = 123456.78;
    var moneyText = number.ToText(Nut.Currency.USD, Nut.Language.English);

    var number = 123456.78;
    var options = new Nut.Options {
        MainUnitNotConvertedToText = true,
        SubUnitNotConvertedToText = true,
        SubUnitZeroNotDisplayed = true,
        MainUnitFirstCharUpper = true,
        SubUnitFirstCharUpper = true,
        CurrencyFirstCharUpper = true
    }
    var moneyText = number.ToText(Nut.Currency.USD, Nut.Language.English, options);

NUGET

https://www.nuget.org/packages/Nut/


THANKS


LICENCE

NUT-number-to-text is MIT licensed.


About

Number To Text Converter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages