Skip to content

Commit cc31de9

Browse files
readme updates
1 parent d2eea31 commit cc31de9

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33

44
A .NET library that converts currency values into words in Bulgarian for accounting purposes.
55

6-
It takes into consideration the [grammatical gender](https://en.wikipedia.org/wiki/Grammatical_gender).
7-
8-
It writes our decimal fractions in the short form: "X лева и ст".
6+
## Functionality
7+
- It takes into consideration the [grammatical gender](https://en.wikipedia.org/wiki/Grammatical_gender).
8+
- It writes decimal fractions in the short form: `X лева и ст.` when the value is above zero, and the full word when it is under the value of `1`: `девет стотинки`.
9+
- The current maximum value is `999999.99` and the minimum is `0.`.
910

1011
## Installation
1112
You can install the OneBitSoftware.Slovom assembly through the NuGet package [NuGet](https://www.nuget.org/packages/OneBitSoftware.Slovom):
@@ -16,6 +17,7 @@ Or via the .NET Core command line interface:
1617
```
1718
dotnet add package OneBitSoftware.Slovom
1819
```
20+
1921
## Examples
2022

2123
|Input|Output|
@@ -24,6 +26,11 @@ dotnet add package OneBitSoftware.Slovom
2426
|1|един лев|
2527
|2|два лева|
2628
|19|деветнадесет лева|
29+
|0.1|десет стотинки|
30+
|1.20|един лев и 20 ст.|
31+
|1019.78|хиляда и деветнадесет лева и 78 ст.|
32+
|1119.78|хиляда сто и деветнадесет лева и 78 ст.|
33+
|32478.27|тридесет и две хиляди четиристотин седемдесет и осем лева и 27 ст.|
2734

2835
## Credits
2936
Inspired by:

0 commit comments

Comments
 (0)