🔢 英文 / 中文数字词转整数Convert Words to Integers
把英文或中文数字读法还原为整数(one hundred → 100,一百二十三 → 123)。每行一个短语,本地处理。Turn English or Chinese number words back into integers (one hundred -> 100). One phrase per line. Processed locally.
使用说明与常见问题How-to & FAQ
「英文 / 中文数字词转整数」是什么?What is the Convert Words to Integers tool?
把英文或中文数字读法还原为整数(one hundred → 100,一百二十三 → 123)。每行一个短语,本地处理。Turn English or Chinese number words back into integers (one hundred -> 100). One phrase per line. Processed locally.
如何使用「英文 / 中文数字词转整数」?How do I use the Convert Words to Integers tool?
在「英文 / 中文数字词转整数」中,把内容粘贴或输入到上方输入框,按需设置「语言」,结果会实时显示在下方,点击「复制结果」即可复制。例如输入「one hundred twenty-three」,得到「123」。Write one number phrase per line, such as one hundred twenty-three, and pick the "Language" (English or Chinese). Each line becomes an integer; tick "Thousands commas" to format large results, and click "Copy result" to copy them.
怎样输入多个整数?How do I enter several integers?
每行一个,或用空格、逗号、分号分隔;可带千位逗号和下划线,负数前面加 -。One per line, or separated by spaces, commas or semicolons; thousands commas and underscores are fine, put - in front of negatives.
结果精确吗?Are the results exact?
精确。所有整数都按大整数(BigInt)处理,不经过浮点,超过 2^53 的数(例如 9007199254740993)也不会被舍入;几千上万行也是线性处理。Yes. Every value is handled as a big integer (BigInt) with no floating-point step, so numbers above 2^53 such as 9007199254740993 are never rounded; thousands of lines are processed in linear time.
支持 and 吗? supported?
支持放在 hundred 或 thousand 等单位之后,例如 one hundred and one = 101;放在别处(one and two、结尾的 and)会提示位置不对。负数可写 minus 或 negative。Yes, after hundred or a scale word such as thousand: one hundred and one = 101. Elsewhere (one and two, a trailing and) it is reported as misplaced. Negatives can start with minus or negative.
能识别哪些写法?Which forms are recognised?
英文从 thousand 到 decillion,单位必须从大到小(two thousand million、one million one million 会报错);也支持 twelve hundred。中文支持 万、亿、兆、京、垓、秭、穰,以及 万亿、亿亿、万万、千万亿 等组合;“一二三”“二零”这类不是规范读法,会报错。“整数转英文 / 中文读法”的输出都能转回来。English from thousand to decillion, with scale words getting smaller (two thousand million and one million one million are errors); twelve hundred also works. Chinese supports every myriad unit from 10^4 to 10^28 and compounds such as ten-thousand-hundred-million (10^12) or hundred-million-hundred-million (10^16); bare digit strings (one-two-three, two-zero) are not standard readings and are rejected. Everything Convert Integers to Words produces converts back.
输入和输出是什么样的?What does the input and output look like?
例如在「英文 / 中文数字词转整数」中输入 one hundred twenty-three,输出为:123(⏎ 表示换行)。For example, the Convert Words to Integers turns the input one hundred twenty-three into: 123 (⏎ marks a line break).
有哪些选项可以调整?What options can I adjust?
「英文 / 中文数字词转整数」的设置:「语言」可选 English、中文(默认 English);可勾选:「千位逗号」。改动任一选项后结果会按新设置重新生成。Settings in the Convert Words to Integers — "Language": English, Chinese (default English); tick boxes: "Thousands commas". Changing any option regenerates the result with the new setting.
「英文 / 中文数字词转整数」免费吗?需要注册吗?Is the Convert Words to Integers free? Do I need an account?
「英文 / 中文数字词转整数」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Convert Words to Integers is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.