英文数字
From Wikibooks。
Jump to: navigation, search。
英文数字和中文一样都是十进数(decimal):有一到十十个形式(pattern),十一到二十形式重复,二十一到三十再重复。
目录 [隐藏]
1 基数(Cardinal numbers)
1.1 一到十(One to ten。
1.2 十几(Teens)
1.3 几十(Tens)
1.4 不规则
1.5 二十几、三十几
1.6 大的数字
1.7 复杂数字
2 序数(Ordinal numbers)
2.1 例外
2.2 练习
2.3 参见
[编辑] 基数(Cardinal numbers)
[编辑] 一到十(One to ten。
一到十都是单个音节:
1 one
2 two
3 three
4 four
5 five
6 six
7 seven
8 eight
9 nine
10 ten
[编辑] 十几(Teens)
“十几”(teens)在数字后加个“teen”,代表+10。
例:
4 = four
14 = fourteen。
6 = six
16 = sixteen(加了个“teen”,代表+10)
11 eleven 不符合规格。
12 twelve 不符合规格。
13 thirteen 拼法更改 thir。
14 fourteen 规则(没有缺u)
15 fifteen 拼法更改 fif。
16 sixteen 规则。
17 seventeen 规则。
18 eighteen 拼法更改(缺t)
19 nineteen 规则。
ok
[编辑] 几十(Tens)
20,30(tens)是在1-10基数词后面加上“ty”(=×10)
20 twenty 拼法更改 twen。
30 thirty 拼法更改 thir。
40 forty 拼法更改 for(缺u)
50 fifty 拼法更改 fif。
60 sixty 规则
70 seventy 规则。
80 eighty 拼法更改(缺t)
90 ninety 规则
[编辑] 不规则
但是,11和12的不符合规格:
1 = one
11 = eleven
2 = two
12 = twelve
有些拼法有更改,要注意:
3 = three
13 = thirteen。
30 = thirty
4 = four
40 = forty(没有“u”)
但是fourteen(14)正常。
8 = eight
18 = eighteen(一个t而已)
1
one 11
eleven 不符合规格 11 eleven。
2
two 12
twelve 20
twenty 不符合规格 12 twelve 20 twen。
3
three 13
thirteen 30
thirty 拼法更改 thir。
4
four 14
fourteen 40
forty 40 拼法更改(缺u)
5
five 15
fifteen 50
fifty 拼法更改 fif。
6
six 16
sixteen 60
sixty 规则
7
seven 17
seventeen 70
seventy 规则
8
eight 18
eighteen 80
eighty 拼法更改(缺t)
9
nine 19
nineteen 90
ninety 规则
[编辑] 二十几、三十几
在数字前加个“twenty-”,代表+20(见#×10)注意,一定要在twenty 和单数之间写个连字号(-)。
例:
4 = four
24 = twenty-four。
6 = six
26 = twenty-six。
同样的,在数字前加个“thirty”,代表+30(见#×10)
例:
4 = four
34 = thirty-four(加了个“thirty”,代表+30)
6 = six
36 = thirty-six(加了个“thirty”,代表+30)
加个“forty”,代表+40,等等。
[编辑] 大的数字
一百多的数字前面写个“one hundred and”
“a hundred and”比较口语。
一定要写“and”
例:
1 = one
101 = one hundred and one。
31 = thirty-one。
131 = one hundred and thirty-one。
两百多的数字前面写个“two hundred and”。注意,
不需要复数形式:“two hundreds”←错误。
例外:“There are five two hundreds in one thousand.”(在一千个一里面有五个两百。)←在此,“五个两百”不是一个数字,所以有复数。关系是〔two hundred〕s,非two 〔hundred〕s。“two hundred”两个字算一组,一起副数。
没有连字号“two-hundred”←错误。
其他:
千 = thousand
万 = ten thousand(没复数)
万 = myriad
少用,大部分只表示“许多”的意思,例:a myriad of colours(许多颜色)
百万 = million
连贯字:millionaire =百万富翁。
百万以上的数字英国和美国名称不一。下面举一个例子(美式读法):
16069380442589902755423214235476587698791962092 = sixteen quattuordecillion, sixty-nine tredecillion, three hundred and。
eighty duodecillion, four hundred and forty-two undecillion, five hundred and eighty-nine decillion, nine hundred and two nonillion, seven hundred and fifty-five octillion, four hundred and twenty-three septillion, two hundred and fourteen sextillion, two hundred and thirty-five quintillion, four hundred and seventy-six quadrillion, five hundred and eighty-seven trillion, six hundred and ninety-eight billion, seven hundred and ninety-one million, nine hundred and sixty-two thousand, ninety-two。
[编辑] 复杂数字
英文写数字,每三个字写逗号:10,000,000,000。
在每个写逗号之地,拼字也写逗号(非“and”)。
例:1,100 = one thousand, one hundred。
参考资料: http://zh.wikibooks.org/wiki/%E8%8B%B1%E6%96%87%E6%95%B8%E5%AD%97。
代码如下:
$('#info_age').change(function(){ 。
var _val = $(this).val(); 。
if(!(/^[0-9]+$/.test( _val ))||_val<0 || _val > 100){ 。
alert("请输入的年龄在0-100之间");。
}
});
扩展资料
正则表达式的使用规范:
正则表达式使用单个字符串来描述、匹配一系列匹配某个句法规则的字符串。
正则表达式(regular expression)描述了一种字符串匹配的模式(pattern),可以用来检查一个串是否含有某种子串、将匹配的子串替换或者从某个串中取出符合某个条件的子串等。
例如:
runoo+b,可以匹配 runoob、runooob、runoooooob 等,+ 号代表前面的字符必须至少出现一次(1次或多次)。
runoo*b,可以匹配 runob、runoob、runoooooob 等,* 号代表字符可以不出现,也可以出现一次或者多次(0次、或1次、或多次)。
colou?r 可以匹配 color 或者 colour,? 问号代表前面的字符最多只可以出现一次(0次、或1次)。
构造正则表达式的方法和创建数学表达式的方法一样。也就是用多种元字符与运算符可以将小的表达式结合在一起来创建更大的表达式。正则表达式的组件可以是单个的字符、字符集合、字符范围、字符间的选择或者所有这些组件的任意组合。
正则表达式是由普通字符(例如字符 a 到 z)以及特殊字符(称为"元字符")组成的文字模式。模式描述在搜索文本时要匹配的一个或多个字符串。正则表达式作为一个模板,将某个字符模式与所搜索的字符串进行匹配。
Korea deals with the exquisite introduction。
Mix the rice:Korea mixs the cuisine that the rice is Korea in of again one special features, among them," the stone bowl mixs the rice" is the recipe that the Korea possess singly." The stone bowl mixs the rice" is to put the soybean bud etc. vegetable, meat, egg( living the egg) and various condiment on the cooked white rice, then prosperous in the very hot stone bowl, and Korean hot pepper sauce, edible after mix blend, it not only the flavor is fresh and beautiful, but also the form is special, because of the stone bowl very hot, a bottom will leave one a 巴 of layer, never throw away, because have the admixture of various material, a 巴 is also a delicious ratio.。
Roast beef and roast the steak:Match most the Chinese taste to to count Korean grilled meat.The grilled meat in Korea contain a lot of kinds, most interesting should be depend the steak( choose to use to feed the big milk cow with the milk of sparerib, after condiment in pickle, put to roast on the sheet iron familiar.).Moreover, the roast beef( roast after preserve~ in salt the beef of cut into the thin slice with the condiment 卤 familiar) is also very popular.The meat toes be stained with the Korean special hot pepper sauce or bean sauces after roast familiarly, then use fresh vegetable, the cotyledon of 黍 wrap( can wrap some garlic petals), as if eat all of Pekings to gather the virtuous roast duck similar edible.General supplementary 3-5 kind pickleses or small vegetableseses.。
Three chicken soups:It is soup to say, is a rice in fact.Put the glutinous rice, big 枣 , garlic, ginseng into the spring chicken 膛 inside braise to boil but become with long hours.Edible, add to put the pepper with personal favour, salty salt.The nourishment is abundant, can be called the tonic.。
Wet goods:Burn the wine:Contain the alcohol to measure to 25 degrees generally. Because very thin, the Chinese drink the surfeit very easily.。
Settles the food( Korean type fix menu in restaurant):At first for North Korea the temple of the ages in cuisine, put full and every kind of small vegetables on the table's top, in addition to pickles, don't add the hot pepper powder is its characteristic.Steam, roast, burn, mixing etc. runs out various different cooking methods, the material seasoning, match colors pattern 100 but abundant, the recipe of each restaurant, the price combines the inconformity, but will certainly include with the wheat fried round flat cake package meat, the vegetable is eight kinds of but edible" the 10% discount plank pull" and a 曰 of chafing dish" the fairy stove" that add to put the meat, fish, vegetable, mushroom to braise to boil.。
Cold face:The cold face of Korea is ising similar such as the food of Korea, seldom implying the oil, this is Szechwan with China the cold noodles contain very big dissimilarity.Don't want that an eats the cold face, because the oil is too little, very quick will feel hungry.After eating the grilled meat, eat previous cold face, will get fed up with solve very much.。
Pickles:In the Korean vegetables most the food of the of 著 , in addition to the cabbage pickles that wide behavior know, return the pickles that various vegetable of useful turnip, cucumber...etc. preserve ~ in salt, and because of the dissimilarity of the region, the category of the pickles contain 100 remainings grow.Among them, the package type pickles can call the best in the pickles, in addition to cabbage, still having the materials, such as chestnut, pear, big 枣 , squid, octopus, abalone, shrimp and loose 仁 ...etc., certainly, also want to put the condiment, such as, spring onion, ginger, garlic, celery of water, shrimp sauce, and etc. in pickles. The Chinese may not make it a rule in the beginning, but eat more more delicious.。
可以用Replace Pioneer按以下办法处理:
1. ctrl-o打开文本文件。
2. ctrl-h打开replace窗口。
* 在search for pattern输入\b-?[\d\.]+\b即可。
* 在replace with pattern输入0即可。
* 在If=>输入$match>-100 && $match<0即可。
3. 点击Replace,把小于0大于100的数变为0。
同理可以把大于30小于100的数变成30。
如果是混合的话,最好是定义一个方法。
public bool str_lenght(string a)。
bool res=false;。
if(a.lenght>=100)。
{
res=false; 。
}
else
{
res=true;
}
return res;