ceil

From DavinciWiki
(Redirected from Ceil)
Jump to: navigation, search


64-bit SafeYes

Description

Rounds up to the nearest higher integer value.

Arguments and Return Values

Arguments: Any numeric array

Return Value: A rounded-up array of the same size as the input

Usage

Syntax: ceil(object = VAL)

Produces a FLOAT value.

Examples

 dv> a
 2x3x1 array of float, bsq format [24 bytes]
 77.8142 33.7228
 84.8097 43.0978
 78.6413 5.27735

 dv> ceil(a)
 2x3x1 array of float, bsq format [24 bytes]
 78.0000 34.0000
 85.0000 44.0000
 79.0000 6.00000

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 07-06-2009

Personal tools