>  Docs Center  >  Libraries  >  Daithi  >  PLUS
Libraries

PLUS

PLUS

Name


PLUS

Purpose


This function returns 1 if the input is positive, 0 otherwise.

Category


Mathematics

Calling Sequence


Result = PLUS( Y )

Inputs


Y: A scalar or array of type integer or floating point.

Outputs


Result: Returns 1 if Y is positive, 0 otherwise.

Procedure


This function determines whether Y is greater than 0.

Example


Determine if 3 is positive.
result = plus( 3 )

Modification History


  Written by: Daithi A. Stone, 2000-06-09.
Modified: Daithi A. Stone, 2000-07-06 (removed
LENGTH.pro).
Modified: Daithi A. Stone, 2000-07-10 (removed for loop).



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us