Nut 3.4.1
dotnet add package Nut --version 3.4.1
NuGet\Install-Package Nut -Version 3.4.1
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.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nut" Version="3.4.1" />
<PackageReference Include="Nut" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Nut --version 3.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Nut, 3.4.1"
#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.
#:package Nut@3.4.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Nut&version=3.4.1
#tool nuget:?package=Nut&version=3.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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
- ArkadiuszMakosa - Polish Language Unit Tests
- Maryam1986 - German Language and Currency
LICENCE
NUT-number-to-text is MIT licensed.
| Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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 | 125,095 | 6/2/2023 |
| 3.3.0 | 89,798 | 5/24/2022 |
| 3.2.4 | 55,127 | 9/27/2021 |
| 3.2.3 | 621 | 9/19/2021 |
| 3.1.1 | 13,565 | 1/27/2021 |
| 3.1.0 | 606 | 1/27/2021 |
| 3.0.0 | 51,634 | 7/3/2020 |
| 2.4.2 | 53,999 | 5/27/2016 |
| 2.4.1 | 1,991 | 1/15/2016 |
| 2.4.0 | 1,479 | 1/15/2016 |
| 2.3.3 | 1,659 | 4/14/2015 |
| 2.3.2 | 1,520 | 4/7/2015 |
| 2.3.1 | 1,526 | 4/7/2015 |
| 2.3.0 | 1,498 | 4/6/2015 |
| 2.2.0 | 2,053 | 12/18/2014 |
| 2.1.4 | 2,092 | 12/2/2014 |
| 2.1.3 | 1,716 | 4/7/2014 |
| 2.1.2 | 1,663 | 4/4/2014 |
| 2.1.1 | 1,653 | 4/4/2014 |
| 2.1.0 | 1,647 | 4/4/2014 |
| 2.0.3 | 1,678 | 4/3/2014 |
| 2.0.2 | 1,995 | 4/3/2014 |
| 2.0.1 | 1,647 | 4/2/2014 |
| 2.0.0 | 2,055 | 4/1/2014 |
| 1.0.0 | 2,070 | 3/31/2014 |
- added German language