除了手动硬编码之外,我想知道是否有一种方法可以让 .net 框架自动内置此功能,我知道它可以自动将希伯来语日期转换为格鲁吉亚日期,但我需要将希伯来语数字转换为格鲁吉亚语
IE א
= 1
�
= 2
这就是数百。请参阅此处了解更多信息。
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.
发布评论
评论(1)
这是您应该采取的方法:
Dictionary>给出每个希伯来字母与其数值之间的对应
编辑:我只是发布了一个 GitHub 存储库,该存储库公开了将希伯来语文本转换为数字以及将数字转换为对应的希伯来语字母的功能。
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.