为什么 Excel 将 `=10**-2` 翻译为 `=0.1`?
尝试将 =10**-2
粘贴到 MS Excel 的单元格中。按 Enter 后,将其变为 =0.1
。我似乎找不到 **
的任何文档,但它似乎是一个非常奇怪的类似指数的运算符,不能在 Excel 公式中使用(例如 =A1** A2
无效`)。
如果这个运算符不是求幂运算符,那么它是什么?
(注意:数学上,10-2 = 0.01,而不是 0.1)
Try pasting =10**-2
into a cell in MS Excel. After pressing Enter, it turns it to =0.1
. I can't seem to find any documentation for **
, but it appears to be a pretty odd exponentiation-like operator that cannot be used in an Excel formula (e.g., =A1**A2
is invalid`).
If this operator is not an exponentiation operator, what is it?
(N.B.: mathematically, 10-2 = 0.01, not 0.1)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
相同
** 与 E =4E3 == 4**3 == 4000
** is the same as E
=4E3 == 4**3 == 4000
看起来
A**B
将A
的小数点向右移动了B
位,或者数学上的A**B
相当于A*(10^B)
。这基本上是一种科学记数法简写,因此
1.23**-2
在单元格中将显示为1.23E-02
,因此它不仅执行所描述的移位上面,但它会将该单元格的类别更改为“科学”。 请注意,只有在不带前导的单元格中输入值时才会出现这种情况=
,因此=1.23**- 2
将保留单元格的当前默认值并显示0.0123
。在
10**-2
的情况下,小数点向左移动 2 位(因为B
为负),结果为 0.1。以下是一些示例:
It appears that
A**B
shifts the decimal point ofA
to the right byB
positions, or mathematicallyA**B
is equivalent toA*(10^B)
.This is basically a scientific notation shorthand, so
1.23**-2
would show up as1.23E-02
in the cell, so not only does it perform the shifting as described above but it will change that cell's category to 'Scientific'. Note that this is only the case if you enter the value into the cell without a leading=
, so=1.23**-2
would keep the current default for the cell and display0.0123
.In the case of
10**-2
, the decimal point is being shifted to the left by 2 positions (sinceB
is negative), resulting in 0.1.Here are a few examples: