Vanguard Software
Forecasting & Planning Solutions
Home Products Solutions Services Customers Partners Company
 
Applying science to business management

contents.gifindex.gifprev1.gifnext1.gif

dtype

Format: dtype( data )

Arguments: [any] data Input data

Returns: (int) Code identifying the input data type

Description: The code returned can be any one of the following values:

Code Data Type

   0     null

   1     Boolean value true or false

   2     Any real or complex number

   3     Text string

   4     List

   5     Function

Examples: dtype(null) = 0

dtype(true) = 1

dtype(23) = 2

dtype("Text") = 3

dtype([1,2,3,4]) = 4

dtype(sqrt) = 5

See Also: typeof, Value Of, exists

  Demand Planning  |  Financial Forecasting
Forecasting Software  |  Strategic Planning Software  |  Decision Tree Software
Decision Support Software  |  Expert System Software  |  Online Surveys

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2011 Vanguard Software Corporation
Print this page   Email this page to a friend