Reputation: 199
Other then hard coding this by hand I was wondering if there was a way that the.net framework would have this built in automaticaly, I know it can automatically convert hebrew dates into georgian dates but I need to convert hebrew numbers into georgian
IE א = 1 ב = 2
This goes into the hundreds. See here for more info.
Upvotes: 4
Views: 3239
Reputation: 41490
Here is the approach that you should take:
Dictionary<char,int
> that gives correspondence between each Hebrew letter and its numeric valueEdit: I just published a GitHub Repo that exposes functionality for converting Hebrew text to numbers, and numbers to their Hebrew letter equivalents.
Upvotes: 8