∏ 计算数字列表乘积Calculate Number Product
计算一列整数的乘积。本地处理。Product of a list of integers. Processed locally.
使用说明与常见问题How-to & FAQ
「计算数字列表乘积」是什么?What is the Calculate Number Product tool?
计算一列整数的乘积。本地处理。Product of a list of integers. Processed locally.
如何使用「计算数字列表乘积」?How do I use the Calculate Number Product tool?
在「计算数字列表乘积」中,把内容粘贴或输入到上方输入框,结果会实时显示在下方,点击「复制结果」即可复制。例如输入「2 3 4」,得到「24」。In the Calculate Number Product: Paste or type into the input box; the result appears below instantly — click "Copy result" to copy it. Example: "2 3 4" → "24".
空输入或小数会怎样?What about empty input or decimals?
至少需要一个整数;只有空格时会提示。小数、1e3 这类写法会指出是第几项不是整数,而不是悄悄取整。At least one integer is needed; input with only spaces gives a message. Decimals or forms like 1e3 get a message naming the item that is not an integer, instead of being silently rounded.
结果精确吗?Is the result exact?
精确。每个整数都按大整数(BigInt)读入并相乘,不经过浮点,所以位数再多也不会丢失精度,例如 30 位 × 30 位的乘积会给出完整的 60 位结果。数之间可用空格、换行、逗号或分号分隔。Yes. Every integer is read as a big integer (BigInt) and multiplied with no floating point, so no digits are lost however long the numbers are; for example a 30-digit × 30-digit product gives the full 60-digit result. Separate the numbers with spaces, line breaks, commas or semicolons.
1,000 会被当成一千吗?Is 1,000 read as one thousand?
不会。逗号是分隔符,所以「1,000 2」按 1、000、2 三个数计算,乘积是 0。要输入一千请写 1000,不要加千位分隔符;输入里出现 1,000 这样的写法时页面会提示。No. The comma is a separator, so '1,000 2' is read as the three numbers 1, 000 and 2, giving a product of 0. Write one thousand as 1000 without a thousands separator; the page shows a note when the input contains a pattern like 1,000.
输入和输出是什么样的?What does the input and output look like?
例如在「计算数字列表乘积」中输入 2 3 4,输出为:24。For example, the Calculate Number Product turns the input 2 3 4 into: 24.
「计算数字列表乘积」免费吗?需要注册吗?Is the Calculate Number Product free? Do I need an account?
「计算数字列表乘积」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Calculate Number Product is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.