Vanguard Software
Forecasting & Planning Solutions

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

  Forecasting Software  |  Strategic Planning Software  |  Decision Support Software
Decision Tree Software  |  Monte Carlo Simulation Software  |  Risk Analysis Software
Portfolio Analysis  |  Expert System Software  |  Online Questionnaires

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2009 Vanguard Software Corporation
Home Products Solutions Services Customers Partners Company
Vanguard
Applying science to business management
Vanguard
Print this page   Email this page to a friend