floor

From DavinciWiki
Jump to: navigation, search


64-bit SafeYes

Description

Rounds down to the nearest lower integer value.

Arguments and Return Values

Arguments: Any numeric array

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

Usage

Syntax: floor(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> floor(a)
 2x3x1 array of float, bsq format [24 bytes]
 77.0000 33.0000
 84.0000 43.0000
 78.0000 5.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: 06-27-2020

Personal tools