Skip Navigation Links.

H5T..::..getPrecision Method

Returns the precision of an atomic datatype. http://www.hdfgroup.org/HDF5/doc/RM/RM_H5T.html#Datatype-GetPrecision

Namespace:  HDF5DotNet
Assembly:  HDF5DotNet (in HDF5DotNet.dll)

Syntax

Visual Basic
Public Shared Function getPrecision ( _
	typeId As H5DataTypeId _
) As Integer
C#
public static int getPrecision(
	H5DataTypeId typeId
)
Visual C++
public:
static int getPrecision(
	H5DataTypeId^ typeId
)
JavaScript
HDF5DotNet.H5T.getPrecision = function(typeId);

Parameters

typeId
Type: HDF5DotNet..::..H5DataTypeId
IN: Identifier of datatype to query.

Return Value

Returns the number of significant bits if successful; otherwise 0.

Exceptions

ExceptionCondition
HDF5DotNet..::..H5TgetPrecisionException throws H5TgetPrecisionException on failure.

See Also