Admin Production ni-theme
Current Publication

ceil

LabWindows/CVI

ceil

double ceil (double inputValue);

Purpose

Computes the smallest integer value not less than the specified argument. This function rounds the input value up to the next highest integer and returns the result.

Parameters

Input
Name Type Description
inputValue double Contains the value that will be rounded to the next highest integer.

Return Value

Name Type Description
result double Contains the resulting integer ceiling value. This value is the smallest integer value that is not less than inputValue.

Additional Information

Library: ANSI C Library

Include file: ansi_c.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later