數學函式庫

ceil

(PHP3 , PHP4)

ceil ---  取得大於指定數的最小整數值

語法 : int ceil(float number);

說明 : 

傳回大於參數number的最小整數值。在整數上使用ceil( )絶對是很浪費時間的。

參考 : floor( )  round( )


上一頁 首頁 下一頁