ThaiPBL.com

PowerBuilder Library Thailand

อีเมล พิมพ์ PDF

ปัดเศษให้เป็นจำนวนเต็ม

Description

Determines the smallest whole number that is greater than or equal to a specified limit.

Syntax

Ceiling ( n )

These statements set num to 5:

decimal dec, num

dec = 4.8

num = Ceiling(dec)