Nut 3.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Nut --version 3.3.0                
NuGet\Install-Package Nut -Version 3.3.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Nut" Version="3.3.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nut --version 3.3.0                
#r "nuget: Nut, 3.3.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Nut as a Cake Addin
#addin nuget:?package=Nut&version=3.3.0

// Install Nut as a Cake Tool
#tool nuget:?package=Nut&version=3.3.0                

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

  • Latif Turk - Ukrainian Language and Currency
  • SecreT2k8 - Bulgarian Language and Currency
  • ashGHub - .Net Standart Migration, Ethiopian Language and Currency
  • kashiash - Polish Language and Currency
  • DeNcHiK3713 - Belarussian Language and Currency
  • Marciel032 - Portuguese Language and Currency

LICENCE

NUT-number-to-text is MIT licensed.


Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.4.1 55,705 6/2/2023
3.3.0 72,361 5/24/2022
3.2.4 42,926 9/27/2021
3.2.3 484 9/19/2021
3.1.1 11,966 1/27/2021
3.1.0 430 1/27/2021
3.0.0 33,716 7/3/2020
2.4.2 44,635 5/27/2016
2.4.1 1,579 1/15/2016
2.4.0 1,115 1/15/2016
2.3.3 1,290 4/14/2015
2.3.2 1,158 4/7/2015
2.3.1 1,151 4/7/2015
2.3.0 1,133 4/6/2015
2.2.0 1,684 12/18/2014
2.1.4 1,546 12/2/2014
2.1.3 1,330 4/7/2014
2.1.2 1,267 4/4/2014
2.1.1 1,268 4/4/2014
2.1.0 1,273 4/4/2014
2.0.3 1,287 4/3/2014
2.0.2 1,445 4/3/2014
2.0.1 1,274 4/2/2014
2.0.0 1,497 4/1/2014
1.0.0 1,479 3/31/2014

- added Portuguese language and currency (BRL)