Dela via


Data Types (Visual Studio - JScript)

A data type specifies the type of value that a variable, constant, or function can accept. Type annotation of variables, constants, and functions helps reduce programming errors by limiting data appropriate types. Furthermore, type annotation also produces faster, more efficient code.

In This Section

boolean Data Type

byte Data Type

char Data Type

decimal Data Type

double Data Type

float Data Type

int Data Type

long Data Type

Number Data Type

sbyte Data Type

short Data Type

String Data Type

uint Data Type

ulong Data Type

ushort Data Type

  • JScript Data Types
    Includes links to topics that explain how to use primitive data types, reference data types, and .NET Framework data types in JScript.

  • Data Type Summary
    Lists value and reference data types supported by JScript, corresponding .NET Framework equivalents, storage sizes, and ranges.

  • JScript Reference
    Lists elements that comprise JScript Language Reference and links to topics that explain the details behind the proper use of language elements.