Category Feature element trees, Object ProElement

Function ProElementDecimalsGet


Description
Obtains the number of decimals places to used for a double value in the feature.
Synopsis
#include <ProElement.h>
ProErrorProElementDecimalsGet(
ProElement element
/* (In)
The element.
*/
int* decimals
/* (Out)
The number of decimal places to be used.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_INVALID_TYPEThe element is not a double element.
See Also
ProElementDoubleGet
ProElementDoubleSet
ProElementDecimalsSet

Manual References:

  1. Element Trees: Principles of Feature Creation: Access to ProElement Data
  2. Element Trees: Principles of Feature Creation: Access to ProElement Data