Tyi*_*ilo 4 wolfram-mathematica
为什么Mathematica没有显示数值结果
(0.8\[CenterDot]452\[CenterDot]20+1.5\[CenterDot]4180\[CenterDot]10
-2\[CenterDot]900\[CenterDot]100) / (0.8\[CenterDot]452
+1.5\[CenterDot]4180-1\[CenterDot]2\[CenterDot]900) // N
Run Code Online (Sandbox Code Playgroud)
只是为了完成一些其他的答案/评论,如果你想通过使用类似的东西CenterDot被解释为Times输入和输出
Unprotect[CenterDot, Times];
CenterDot = Times;
Times /: MakeBoxes[Times[a__], fmt_] :=
With[{cbox = ToBoxes[HoldForm[CenterDot[a]]]},
InterpretationBox[cbox, Times[a]]];
Protect[CenterDot, Times];
Run Code Online (Sandbox Code Playgroud)
如果您希望在默认情况下加载它,可以将其添加到init.m中.
这适用于数字和符号表达式,例如
In[5]:= 1\[CenterDot]2\[CenterDot]3
Out[5]= 6
In[6]:= a b c
Out[6]= a\[CenterDot]b\[CenterDot]c
Run Code Online (Sandbox Code Playgroud)
您还可以CenterDot通过执行在空格分隔的数字之间进行自动插入的乘法符号
SetOptions[EvaluationNotebook[],
{AutoMultiplicationSymbol -> True, NumberMultiplier -> "\[CenterDot]"}]
Run Code Online (Sandbox Code Playgroud)
或者通过选择中心点下的首选项对话框外观>编号>乘法.
例如:

| 归档时间: |
|
| 查看次数: |
549 次 |
| 最近记录: |