### CBool (number or currency)

Basic and Crystal syntax.

##### Argument

A single argument that can be either a Number or Currency value or expression.

##### Returns

Boolean value

##### Action

CBool returns True if the argument is positive or negative but not 0 and returns False if the argument is 0.

##### Example

The following example is applicable to Basic and Crystal syntax:

`CBool({Item.NETSALES})`

Returns True if there is an increase or decrease in net sales; returns False if net sales is 0.

##### Comment

This function is designed to work like the Visual Basic function of the same name.

Seagate Software, Inc. http://www.seagatesoftware.com Please send comments to: techpubs@seagatesoftware.com