Functions.Ceiling 方法 |
命名空间: XSharp.VFP
FUNCTION Ceiling( nExpression ) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })] public static __Usual Ceiling( __Usual nExpression = default )
1STORE 10.1 TO num1 2STORE -10.9 TO num2 3? Ceiling(num1) // 显示 11 4? Ceiling(num2) // 显示 -10 5? Ceiling(10.0) // 显示 10 6? Ceiling(-10.0) // 显示 -10