Total Pageviews
Wednesday, April 9, 2014
math.ceil
Math.ceil()
គេប្រើសំរាប់ត្រឡប់មកវិញនៅ
integer larger than or equal to X
Syntax: math.ceil(x)
X(
ជំរើស
)
វាជាចំនួនលេខ
សូមមើលកូដះ
Print (math.ceil (0.5)) -- 1
Print (math.ceil (-0.5)) -- -0
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment