logo-header

 
 

IsPositive

syntax

  • IsPositive(a)

definition

IsPositive(a) results in a boolean data item with values True for positive and False for negative and 0 values.

applies to

Data items with value types:

  • group: Numeric

since version

5.15

example

attribute<bool> IsPositive(ADomain): expr = "IsPositive(A)";
A(float32) IsPositiveA
0 False
null False
1000000 True
-2.5 False
99.9 True
Table ADomain, nr of rows = 5

see also


OBJECT VISION BV
Vrije Universiteit
De Boelelaan 1085
1081 HV Amsterdam
The Netherlands

tel: +31 (0)20 598 9083
fax:+31 (0)20 598 9904



Recent Wiki Changes