如何把数字转换成英语怎么说

如何把数字转换成英语怎么说,第1张

1 如何将数字转换成英文表示﹖﹖﹖我想将数字转换成英文表示﹐如188
如果转英文的话可以用spell_amountsample code:CALL FUNCTION 'SPELL_AMOUNT' EXPORTING AMOUNT = L_PAMOUNT "L_AMOUNT_AFTER_TAX CURRENCY= L_CURRENCY FILLER = SPACE LANGUAGE= SY-LANGU IMPORTING IN_WORDS= T_SPELL EXCEPTIONS NOT_FOUND = 1 TOO_LARGE = 2 OTHERS = 3但转中文的话会有点问题,想问一下如果要转成中文的话有没有其他什么好的function。
2 数字怎么翻译成英文
数字翻译成英文的要点

含有小数的万位数字或亿位数字:因为英语中没有 “万”和“亿”的数字概念,所以相关的数字翻译必须要进行转换, “万”要换成“ ten thousand” , “亿”要换成“ one hundred million”。

含有整数和小数的数字:英语数字读基数,小数点后的 “零”读英语字母 “o”的发音或者“zero/naught”。如10565要读为one hundred and five point six five。
数字“11759916”翻译成英语是:

one hundred and seventeen thousand, five hundred and ninty nine point sixteen

1、也可按数字从左到右翻译:

one one seven five nine nine (point小数点) one six

2、还有其他不明的翻译:

one hundred seventeen thousand five hundred and nighty nine point one six

3、one hundred seventeen thousand five hundred niy-nine and sixteen

4、double one seven double nine dot one six

5、one hundred and seventeen thousand five hundred and niy-nine point sixteen

扩展资料

数字的两种基本翻译方法 

1保留数字直译——要求数字的准确度和清晰度 

(1)年代的表达 

Eg: 1980s  二十世纪八十年代 

(2)长数字的表达 

Eg:The Chinese News Agency says China's population has grown to 1,031,882,511 persons (数字读作one billion thirty-one million eight hundred eighty-two thousand five hundred and eleven),数字翻译为10亿3188万2511。 

2 舍弃数字意译——对数字进行模糊化处理 

Eg: I have one hundred and one things to do this morning 今天早上我有很多事情要做。 

这里的one hundred and one就做了模糊处理,舍弃了数字意译为“很多”。 

Eg: Her face lost color within twenty seconds 她的脸色一下子就变了。 

这里的within twenty seconds只是表示时间的短暂,并没有实际的数字意义,因此,只要译为“很快”,“一下子”等表示时间短暂的汉语意义就可以了。
3 如何把数字转换英文单词,类似手机数字键盘
你这个是考算法的啊!我想到了几点:1:你要把wordstxt单词库中的单词逐个分离出来。

这个不难,只要单词库中的单词之间有固定的界限(比如用空格来区分,或是逗号什么的)都可以用javautilStringTokenizer类来分离。2:将分离出来的单词存放在ArrayList list中3:建立英文字母到数字的映射关系:public int index(chat c)根据输入的char返回对应的数字。

不如D/E/F返回3,需要注意的是,大D和小D都返回3。这个不难吧。

4:建立一个单词到数字的映射。public byte[] NOEncoding(String s)用到String类的charAt(int index)方法,逐个提取char,再用index()方法对应的数字来来确定,并将结果存放在byte数组中5:遍历list链表,利用NOEncoding()方法,建立每个单词到数字的映射,就形成了新的单词库了。

6:最后一步啦,将输入的数字和对应的新的单词库做比较就行了。你的目的达到了。

附:javautilStringTokenizer ublic class StringTokenizerextends Objectimplements Enumerationstring tokenizer 类允许应用程序将字符串分解为标记。tokenization 方法比 StreamTokenizer 类所使用的方法更简单。

StringTokenizer 方法不区分标识符、数和带引号的字符串,它们也不识别并跳过注释。 可以在创建时指定,也可以根据每个标记来指定分隔符(分隔标记的字符)集。

StringTokenizer 的实例有两种行为方式,这取决于它在创建时使用的 returnDelims 标志的值是 true 还是 false: 如果标志为 false,则分隔符字符用来分隔标记。标记是连续字符(不是分隔符)的最大序列。

如果标志为 true,则认为那些分隔符字符本身即为标记。因此标记要么是一个分隔符字符,要么是那些连续字符(不是分隔符)的最大序列。

StringTokenizer 对象在内部维护字符串中要被标记的当前位置。某些 *** 作将此当前位置移至已处理的字符后。

通过截取字符串的一个子串来返回标记,该字符串用于创建 StringTokenizer 对象。 下面是一个使用 tokenizer 的实例。

代码如下: StringTokenizer st = new StringTokenizer("this is a test"); while (sthasMoreTokens()) { Systemoutprintln(stnextToken()); } 输出以下字符串: this is a test public StringTokenizer(String str, String delim)为指定字符串构造一个 string tokenizer。delim 参数中的字符都是分隔标记的分隔符。

分隔符字符本身不作为标记。 注意,如果 delim 为 null,则此构造方法不抛出异常。

但是,尝试对得到的 StringTokenizer 调用其他方法则可能抛出 NullPointerException。 参数:str - 要解析的字符串。

delim - 分隔符。 抛出: NullPointerException - 如果 str 为 null。

附2:我觉得这种思路较好一些:1>如果建立数字到英文字母的映射,那么一个数字将返回多个字母,这个不是很好吧,不如2--abc。2>建立数字到单词的映射,算法上不太好实现。

比如224,就是abc abc ghi的全排雷,就要333这么多种,要是中文字还可以接受做多也就44444这么多。但是英文不同了。

3>你单词库中的单词毕竟是有限的,就拿中文汉字来说,最多也1W左右。英文单词也不过如此。

所以这个不是大问题。综上,我最终选择了这个算法来实现。

代码之际写吧。应该不存在大问题了。

(回答很辛苦啊,,我还差6个最佳答案了!)。
4 如何用C语言将输入的数字转化成英语
对照字母的ASCII码进行输入数字,然后再输出字母。

和你的相比,不知是否复杂。 此程序的计算范围:0<=num<1000。

如果还想要计算更大的数,可以在最后面加判断语句,方法类似。 #include void main() { char Eng1[20]={"zero","one","two","three","four","five","six","seven", "eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen", "sixteen","seventeen","eighteen","nieen"}; char Eng2[8]={"twenty","thirty","fourty","fifty","sixty","seventy","eighty","niy"}; int num; printf("请输入数字: "); scanf("%d",&num); printf("对应的英文为: "); if(num>=0&&num<=19) printf("%s\n",Eng1[num]); else if(num<100) { int s,y; s=num/10; y=num%10; printf("%s %s\n",Eng2[s-2],Eng1[y]); } else if(num<1000) { int b,s,y; b=num/100; y=num%100; if(y>9) { s=(num%100)/10; y=(num%100)%10; if(y==0) printf("%s hundred and %s\n",Eng1[b],Eng2[s-2]); else printf("%s hundred and %s %s\n",Eng1[b],Eng2[s-2],Eng1[y]); } else printf("%s hundred and %s\n",Eng1[b],Eng1[y]); } }。
5 java如何将数字转换为英文
Java 数字转成英文 英文数词,按3位3位区分 Hundred: 100 Thousand:1,000 Million: 1,000,000 Billion: 1,000,000,000 Trillion: 1,000,000,000,000 Quintillion: 1,000,000,000,000,000,000 Sextillion: 1,000,000,000,000,000,000,000 Nonillion: 1,000,000,000,000,000,000,000,000,000,000 Centillion: 1 followed by 303 zeros 所以把数字字符串按3位分割,分别解析 public class NumUtil { public static final String[] enNum = { 基本数词表 "zero", "one", "tow", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nieen", "twenty", "", "", "", "", "", "", "", "", "", "thirty", "", "", "", "", "", "", "", "", "", "fourty", "", "", "", "", "", "", "", "", "", "fifty", "", "", "", "", "", "", "", "", "", "sixty", "", "", "", "", "", "", "", "", "", "seventy", "", "", "", "", "", "", "", "", "", "eighty", "", "", "", "", "", "", "", "", "", "niy" }; public static final String[] enUnit = { "hundred", "thousand", "million", "billion", "trillion", "quintillion" }; 单位表 public static void main(String[] args) { Systemoutprintln( yze(1)); 测试数据 Systemoutprintln( yze(21)); Systemoutprintln( yze(105)); Systemoutprintln( yze(3250)); Systemoutprintln( yze(47826)); Systemoutprintln( yze(56945781)); } public static String yze(long num) { long型参数, return yze(StringvalueOf(num)); 因为long型有极限,所以以字符串参数方法为主 } public static String yze(String num) { 数字字符串参数 判断字符串是否为数字 if (!nummatches("\\d+")) { return Stringformat("%s is not number", num); } num = numreplaceAll("^[0]([1-9])", "$1"); 把字符串前面的0去掉 if (numlength() == 0) { 如果长度为0,则原串都是0 return enNum[0]; } else if (numlength() > 9) { 如果大于9,即大于999999999,题目限制条件 return "too big"; } 按3位分割分组 int count = (numlength() % 3 == 0) numlength() / 3 : numlength() / 3 + 1; if (count > enUnitlength) { return "too big"; } 判断组单位是否超过, 可以根据需求适当追加enUnit String[] group = new String[count]; for (int i = numlength(), j = grouplength - 1; i > 0; i -= 3) { group[j--] = numsubstring(Mathmax(i - 3, 0), i); } StringBuilder buf = new StringBuilder(); 结果保存 for (int i = 0; i < count; i++) { 遍历分割的组 int v = IntegervalueOf(group[i]); if (v >= 100) { 因为按3位分割,所以这里不会有超过999的数 bufappend(enNum[v / 100])append(" ")append(enUnit[0]) append(" "); v = v % 100; 获取百位,并得到百位以后的数 if (v != 0) { bufappend("and "); } 如果百位后的数不为0,则追加and } if (v != 0) { 前提是v不为0才作解析 if (v < 20 || v % 10 == 0) { 如果小于20或10的整数倍,直接取基本数词表的单词 bufappend(enNum[v])append(" "); } else { 否则取10位数词,再取个位数词 bufappend(enNum[v - v % 10])append(" "); bufappend(enNum[v % 10])append(" "); } if (i != count - 1) { 百位以上的组追加相应的单位 bufappend(enUnit[count - 1 - i])append(" "); } } } return buftoString()trim(); 返回值 } }。

句型转换(Rewrite the sentences in another way)
句型转换(Sentence pattern transformation)
句型转换 (Patterns transformation)

"Data conversion"
例句
全部data conversion
为完备地实现数据转换模块,从分析方法和实现技术上进行了积极的尝试。
In this part, I have progressed zealously attempt in analytic methods and realizing techniques

The biological reactor (Membrane Bioreactor, was called MBR) the water treatment technology is the highly effective biochemistry water treatment technology which one biological technology and the membrane technology unified, the membrane biology reactor unifies the membrane to separate technical and the traditional sludge method one kind of highly effective sewage treatment technology, as a result of the membrane filtration function, the biology is temporarily stopped completely in the biological reactor, has realized when the water power pause asked with the sludge age thorough separation, made in the biological reactor to maintain high MLSSNitration ability, the pollutant elimination rate is high
Key words: Membrane biology reflection, material balance, reactor classification

“转换插头”的英文怎么说?
一、英文:

changeover plug

二、延伸词语:

1、转换插头Plug adaptor
2、万能转换插头Adaptor plug

三、双语例句:

1、串口转换装置用排线连接到6针插头上。

The serial converter is connected to the 6 pin header with a ribbon cable

2、为了给您提供更加完善的服务,方便您在店的需求,我们的所有房间可免费提供吹风机、电熨斗、转换插头、枕头的借用服务。

For your convenience, we provide the lending service of the hairdryer, electric iron, connector plugs and the pillow in the housekeeping centre

3、我们是一家专业生产荧光灯灯座系列、启辉器座、接线端子转换插头和各类接触件等产品的厂家。

The pany majors in manufacturing series of fluorescent lamp holders, glow starter holders,connection terminal converting ends and diversified contact elements, which enjoy pletevarieties

4、将插头插到感应线圈、锁芯柱、点火起动开关和信号转换器上。

Push plugs onto induction coil lock barrel ignition starting switch and onto the signal converter

5、南京哪里有卖转换插头的?

Where Nanjing has sell change an attachment plug's

转换插头:

从字面上理解是让某种插头转换成另一种插头(如电话电源插头、USB充电插头,电脑电源插头,通用是各国电源插头等互换作用)。再普遍指,将各国不同电源插头或某国电源插头转换成另一个国家或多国电源插头,将多国或某一国家电源插头能插在另外一个国家的插座。使不同国家的插头能到全球不同国家能互通,解决了全球不同国家的电器能到另外的国家使用。
“转换插头”的英文怎么说?
一、英文: changeover plug 二、延伸词语: 1、转换插头Plug adaptor 2、万能转换插头Adaptor plug 三、双语例句: 1、串口转换装置用排线连接到6针插头上。

The serial converter is connected to the 6 pin header with a ribbon cable 2、为了给您提供更加完善的服务,方便您在店的需求,我们的所有房间可免费提供吹风机、电熨斗、转换插头、枕头的借用服务。 For your convenience, we provide the lending service of the hairdryer, electric iron, connector plugs and the pillow in the housekeeping centre 3、我们是一家专业生产荧光灯灯座系列、启辉器座、接线端子转换插头和各类接触件等产品的厂家。

The pany majors in manufacturing series of fluorescent lamp holders, glow starter holders,connection terminal converting ends and diversified contact elements, which enjoy pletevarieties 4、将插头插到感应线圈、锁芯柱、点火起动开关和信号转换器上。 Push plugs onto induction coil lock barrel ignition starting switch and onto the signal converter 5、南京哪里有卖转换插头的? Where Nanjing has sell change an attachment plug's? 转换插头: 从字面上理解是让某种插头转换成另一种插头(如电话电源插头、USB充电插头,电脑电源插头,通用是各国电源插头等互换作用)。

再普遍指,将各国不同电源插头或某国电源插头转换成另一个国家或多国电源插头,将多国或某一国家电源插头能插在另外一个国家的插座。使不同国家的插头能到全球不同国家能互通,解决了全球不同国家的电器能到另外的国家使用。
“计算器”用英语怎么说
calculator

英文发音:[ˈkælkjuleɪtə(r)]

中文释义:n计算器

例句:

He wonders why the digits on his calculator slope to the right

他不明白为什么他的计算器上面的数字向右倾斜。

短语:

1、electronic calculator 电子计算器

2、scientific calculator 科学用计算器

3、pocket calculator 袖珍计算器;便携式计算器

扩展资料

calculator的同根词:

1、calculate

英文发音:['kælkjʊleɪt]

中文释义:vt 计算;预测;认为;打算

例句:

From this you can calculate the total mass in the Galaxy

据此,你可以计算出银河系的总质量。

2、calculable

英文发音:['kælkjələbl]

中文释义:adj 可计算的;能预测的;可靠的

例句:

In this environment, uncertainty disappears to be replaced by calculable risk

在这种环境下,不确定性消失了,被可估算的风险取代。
数字电视整体转换英文怎么说?
有多种翻译,看个人喜好选一种吧:

1Integral Transition

如:Views on the Hot Topic of Digital Television Integral Transition

数字电视整体转换热点问题思考

2Total Transition

如:Research of the Scale Economy Characteristic of the Total Transition Patternin in the Digital Television Industry Development

数字电视发展整体转换模式的规模经济性

3Whole Transition

如:After whole transition, the development of DTV yet has problems about that unilateral work is basic, program resource is lack, and good payoff model is few etc

整体转换后,数字电视的发展仍然面临单向网络为主、节目资源匮乏、缺乏好的盈利模式等问题;


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/yw/13371755.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-07-23
下一篇 2023-07-23

发表评论

登录后才能评论

评论列表(0条)

保存