Datatypes

From UG

(Difference between revisions)
Jump to: navigation, search
(Created page with 'Category: UI == Intro == Common CT2 datatypes: == Numbers == === Integer === Examples: * 23 * 1000 * 0 * -7896 === Positive Integer === * 23 * 1000 * 0 === Decimal =…')
(Intro)
Line 2: Line 2:
== Intro ==
== Intro ==
-
Common CT2 datatypes:
+
Common CT2 datatypes - see:
 +
 
 +
* [[#Numbers]]
 +
* [[#Strings]]
== Numbers ==
== Numbers ==

Revision as of 01:18, 21 January 2010

Contents

Intro

Common CT2 datatypes - see:

Numbers

Integer

Examples:

  • 23
  • 1000
  • 0
  • -7896

Positive Integer

  • 23
  • 1000
  • 0

Decimal

Also called (floating-point numbers)

Examples:

  • 2.3
  • 1.0
  • 1.9083496
  • 100865.08E23

Strings

alphanumeric

The alphanumeric character set consists of the numbers 0 to 9 and letters A to Z.

Examples:

  • hgTF9087GggyYg
  • book
  • 897

Unicode

Examples:

  • อักษรไทย
  • русский алфавит

ASCII

Examples:

  • jhg&$&^*&@dceUH!
  • Hello!
  • #234
  • 12-34-98698690

http://en.wikipedia.org/wiki/ASCII

Other datatypes examples

Personal tools