实数

实数是指浮点数。 实数由一个或多个数字来表示,后跟小数点,小数点后再跟一个或多个数字。 CLEM 雷亚尔保持双精度。

Optionally, you can place a minus sign (−) before the real to denote a negative number (for example, 1.234, 0.999, −77.001). Use the form <数字> e <指数> to express a real number in exponential notation (for example, 1234.0e5, 1.7e2). When SPSS Modeler reads number strings from files and converts them automatically to numbers, numbers with no leading digit before the decimal point or with no digit after the point are accepted (for example, 999. or .11). 但是,这些形式在 CLEM 表达式中是非法的。

注: 在 CLEM 表达式中引用实数时,必须使用句点作为小数分隔符,而不考虑当前流或语言环境的任何设置。 例如,指定
Na > 0.6
而不是
Na > 0,6
即使在流属性中选择了逗号作为十进制符号,并且符合代码语法应该独立于任何特定语言环境或约定的一般准则,这也是适用的。