This repository has been archived by the owner on May 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
tamerfahmy/CurrencyToWords
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
======================================================================================================================================== READ ME ======================================================================================================================================== This solution is implementing the functionality to convert from a currency number amount into English words. However it is also expendable to support multi human natural languages for the numbers and currencies. I used N-Tire architecture in this solutions to have different layers each has its own task. The first layer is the Business Logic behind the actual number to words conversion. 1- Classes implements an interface which allows to create the conversion mechanism depends on a CultureInfo Where it will contains many information about numbering and the currency formats. This also will define which NL to convert to. 2- A factory design pattern is used to route between this classes and fetch the appropriate converter class based on the selected culture. It also supports to add custom converters at runtime if needed. 3- Extension methods is also used to easily access the conversion implementation from double or long data types.
About
Converts currency amount in numbers to words
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published