🔍

首页Home › 数学工具Math

± 更改整数正负号Change Integer Sign

批量更改整数的正负号:全部取相反数、全部变正、全部变负,或去掉符号。适合整理数据,本地处理。Change the sign of integers in bulk: negate all, make all positive, make all negative, or strip signs. Handy for cleaning data. Processed locally.

使用说明与常见问题How-to & FAQ

「更改整数正负号」是什么?What is the Change Integer Sign tool?

批量更改整数的正负号:全部取相反数、全部变正、全部变负,或去掉符号。适合整理数据,本地处理。Change the sign of integers in bulk: negate all, make all positive, make all negative, or strip signs. Handy for cleaning data. Processed locally.

如何使用「更改整数正负号」?How do I use the Change Integer Sign tool?

在「更改整数正负号」中,把内容粘贴或输入到上方输入框,按需设置「方式」,结果会实时显示在下方,点击「复制结果」即可复制。例如输入「5, -3」,得到「-5, 3」。Paste your integers and choose a "Mode": Negate flips every sign, All positive takes absolute values and All negative makes every value negative. For example 5, -3 becomes -5, 3 with Negate; click "Copy result" to copy the output.

怎样输入多个整数?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.

输入和输出是什么样的?What does the input and output look like?

例如在「更改整数正负号」中输入 5 ⏎ -3 ⏎ 0,输出为:-5 ⏎ 3 ⏎ 0(⏎ 表示换行)。For example, the Change Integer Sign turns the input 5 ⏎ -3 ⏎ 0 into: -5 ⏎ 3 ⏎ 0 (⏎ marks a line break).

有哪些选项可以调整?What options can I adjust?

「更改整数正负号」的设置:「方式」可选 取相反数、全部变正(绝对值)、全部变负(默认 取相反数);可勾选:「千位逗号」。改动任一选项后结果会按新设置重新生成。Settings in the Change Integer Sign — "Mode": Negate, All positive (absolute), All negative (default Negate); tick boxes: "Thousands commas". Changing any option regenerates the result with the new setting.

「更改整数正负号」免费吗?需要注册吗?Is the Change Integer Sign free? Do I need an account?

「更改整数正负号」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Change Integer Sign is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.

相关工具Related tools

📊 整数分析(个数、求和、平均、奇偶等)Analyze Integers✖️ 整数相乘Multiply Integers🔄 整数转回文数Convert Integer to Palindrome🔤 整数转英文 / 中文读法Convert Integers to Words🔢 英文 / 中文数字词转整数Convert Words to Integers🔍 从文本中提取整数Extract Integers from Data⬆️ 找出最大整数Find Max Integer⬇️ 找出最小整数Find Min Integer∑ 整数累计求和Find Running Total∏ 整数累计求积Find Running Product🔗 连接整数列表Join Integers✖️ 整数各位数字相乘Multiply Integer Digits

← 全部工具All tools