Difference between revisions of "Variable data types"

From webCoRE Wiki - Web-enabled Community's own Rule Engine
Jump to: navigation, search
(Created page with "webCoRE supports several variable data types. ===Dynamic=== This variable type can change based on the value being stored in it. [Is this correct?] ===String=== A variable o...")
 
m (ady624 moved page WebCoRE Variable Data Types to Variable data types without leaving a redirect)
(No difference)

Revision as of 01:28, 26 March 2017

webCoRE supports several variable data types.

Dynamic

This variable type can change based on the value being stored in it. [Is this correct?]

String

A variable of type string can contain one to many alphanumeric characters, for example: "1234".

Boolean

A variable of type boolean is a binary type. It's value can either be true or false (1 or 0).

Number (Integer)

A variable of type number (integer) can contain only whole numbers, for example: "1" or 3983.

Number (Decimal)

A variable of type number (decimal) can contain rational numbers in the decimal form, for example 6.3 or 100.18 or 209.292929.

Date and Time

A variable of date and time represents a single point in time representing both date and time, for example 8/7/1980 08:39:29 AM.

Date

A variable of date represents a single day, for example 8/7/1980.

Date and Time

A variable of time represents a single point in time that can happen each day, for example 08:39:29 AM.

Device

[todo, need specifics]