.. highlightlang:: us .. index:: AppSetDatasetDataType .. _appsetdatasetdatatype: AppSetDatasetDataType ===================== .. us.tag AppSetDatasetDataType NOTREADYENGLISH App :ref:`AppSetDatasetDataType` sets the data type for 1D and 2D datasets. .. function:: rsOldDataType = AppSetDatasetDataType() rsOldDataType = AppSetDatasetDataType(rsNewDataType) .. us.return **Return Value** *rsOldDataType* .. us.params **Parameters** .. uparam:: rsNewDataType *rsNewDataType* can be one of the following values: .. list-table:: :header-rows: 1 * - Value - Meaning * - DATATYPE_FLOAT32 - 4 byte * - DATATYPE_FLOAT64 - 8 byte .. us.comment **Comment** If the function is called without a parameter the current data type is returned. :ref:`AppSetDatasetDataType` should be called before a dataset is created. If a dataset contains Time/Date coordinates the data type ``DATATYPE_FLOAT64`` should be set. .. seealso:: :ref:`XYCreate`, :ref:`TYCreate`, :ref:`XYSetDataType`, :ref:`XYGetDataType` :sub:`id-2040648`