Is specifying floating-point type sufficient to guarantee same results?
指定浮点型足以保证同样的结果吗?
If you want to force a floating-point result, be sure that at least one of the operands is a floating-point type.
如果要强制取得浮点结果,则必须确保操作数中至少有一个为浮点类型。
If you've never encountered an exact precision data type, the distinction between a decimal and floating-point type may be confusing.
如果从未遇到过准确精度数据类型,那么对算术类型和浮点类型可能有些迷惑。
应用推荐