Datatypes

From UG

Revision as of 01:16, 21 January 2010 by Alex (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Intro

Common CT2 datatypes:

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