What are the data types?

There are two categories of data types: numeric and non-numeric.

Numeric types

  • Byte
    • whole numbers
    • 0 to 255
  • Integer
    • whole numbers
    • -32768 to 32767
  • Long
    • whole numbers
    • +/-2,147,483,648
  • Single
    • decimals
    • +/-3.402823E+38
  • Double
    • decimals
    • +/-4.94065645841247E-324
  • Currency
    • decimals
    • +/-922,337,203,685,477.5808
  • Decimal
    • decimals
    • +/- 79,228,162,514,264,337,593,543,950,335

Non-numeric types

  • Stringfixedlength
    • 1-65 000 characters
  • Stringvariablelength
    • 0-2billion characters
  • Date
    • 01/01/100 to 12/31/9999
  • Boolean
    • true or false
  • Object
  • Variantnumeric
    • any value as large as Double
  • Varianttext
    • same as variable-length String

 

Advertisements