Nut 3.5.0
See the version list below for details.
dotnet add package Nut --version 3.5.0
NuGet\Install-Package Nut -Version 3.5.0
<PackageReference Include="Nut" Version="3.5.0" />
<PackageVersion Include="Nut" Version="3.5.0" />
<PackageReference Include="Nut" />
paket add Nut --version 3.5.0
#r "nuget: Nut, 3.5.0"
#:package Nut@3.5.0
#addin nuget:?package=Nut&version=3.5.0
#tool nuget:?package=Nut&version=3.5.0
NUT - Number To Text
Number To Text Converter
Money To Text Converter
Supported Languages: English, French, German, 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
Target Framework: .NET Standard 2.0 — runs on .NET Framework 4.6.1+, .NET Core 2.0+ and .NET 5 and later.
INSTALL
dotnet add package Nut
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/
CHANGELOG
See CHANGELOG.md for what changed in each release.
CONTRIBUTING
Pull requests are welcome. Two things make them much easier to accept:
- Add tests for what you change.
dotnet test src/Nut.slnruns the suite, and CI runs it on every pull request. - A new language or currency needs tests written by someone who speaks it. Reviewers
cannot verify wording in a language they do not read, so a table of expected outputs is
the only thing that makes such a contribution reviewable. Cover at least
0, 1, 2, 11, 21, 100, 1000, 2000, 41000, 1000000plus one decimal amount.
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. |
-
.NETStandard 2.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Nut:
| Package | Downloads |
|---|---|
|
KCellReport
Ядро CellReport: шаблоны, ReportDocument, экспорт, Skia-рендерер |
|
|
Kayala
Kayala — framework for building trade automation systems. Includes template engine, localization, print forms, scheduling, data exchange and UI abstractions. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.0 | 471 | 7/29/2026 |
| 3.5.0 | 103 | 7/28/2026 |
| 3.4.1 | 173,546 | 6/2/2023 |
| 3.3.0 | 97,800 | 5/24/2022 |
| 3.2.4 | 56,446 | 9/27/2021 |
| 3.2.3 | 1,102 | 9/19/2021 |
| 3.1.1 | 14,441 | 1/27/2021 |
| 3.1.0 | 1,085 | 1/27/2021 |
| 3.0.0 | 67,266 | 7/3/2020 |
| 2.4.2 | 60,681 | 5/27/2016 |
| 2.4.1 | 2,498 | 1/15/2016 |
| 2.4.0 | 1,996 | 1/15/2016 |
| 2.3.3 | 2,172 | 4/14/2015 |
| 2.3.2 | 2,031 | 4/7/2015 |
| 2.3.1 | 2,045 | 4/7/2015 |