You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-2Lines changed: 29 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,23 @@
5
5
6
6
A .NET library that converts currency values into words in Bulgarian for accounting purposes.
7
7
8
-
Example: Input: `32048.27` Outpud: `тридесет и две хиляди и четиридесет и осем лева и 27 ст.`
8
+
Example BGN: Input: `32048.27` Output: `тридесет и две хиляди и четиридесет и осем лева и 27 ст.`
9
+
Example EUR: Input: `32048.27` Output: `тридесет и две хиляди и четиридесет и осем евро и 27 ц.`
9
10
10
11
## Functionality
11
12
- It takes into consideration the [grammatical gender](https://en.wikipedia.org/wiki/Grammatical_gender).
13
+
- It supports negative values.
12
14
- 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`: `девет стотинки`.
13
-
- The current maximum value is `999999.99` and the minimum is `0.`.
15
+
- The current maximum value is `999999.99` and the minimum is `-999999.99`.
16
+
17
+
## Supported currencies
18
+
19
+
The library supports the following currencies through predefined descriptors:
20
+
21
+
| Currency | Code | Major Unit | Minor Unit | Usage |
0 commit comments