|
SOLUTIONS
|
MATHEMATICA 内置符号
AccountingForm
AccountingForm[expr]
输出 expr 中以标准会计记数法给出的所有数.
AccountingForm[expr, n]
输出 n 位精度的数.
更多信息更多信息
- AccountingForm 从不使用科学记数法.
- AccountingForm 使用圆括号表示负数.
- 可以给出以下选项:
-
DigitBlock Infinity 分隔之间的位数 ExponentFunction Automatic 用于指数的函数 ExponentStep 1 增加指数的步骤 NumberFormat Automatic 该函数用于汇编尾数,底和指数 NumberMultiplier "" 用于表示乘法的字符串 NumberPadding {"",""} 用于左右填充的字符串 NumberPoint "." 小数点字符串 NumberSeparator {","," "} 在各块之间分隔处插入的字符串 NumberSigns {{"(",")"},""} 用于正,负数符号的字符串 SignPadding False 是否在符号后插入填充 - AccountingForm 相当于一个"包装",它影响输出,但不影响计算.
版本 2 的新功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
