2.2.4.28.9 MatrixObject::GetDigitMode

Description

Get the digit mode of the matrix.

Syntax

int GetDigitMode( )

Parameters

Return

The integer code representing the format.

Examples

EX1

// Matrix must exist in the project
void MatrixObject_GetDigitMode_Ex1()
{
    MatrixPage mp = Project.MatrixPages(0);
    if(!mp)
        return;
    
    MatrixObject moMy(mp.GetName(), 0);
    printf("the data format in the matrix is %d", moMy.GetDigitMode());     
}

Remark

Get the digit mode of the matrix. There are 3 modes:

0 for default decimal digits

1 for decimal digits

2 for significant digits

See Also

MatrixObject::SetDigitMode, MatrixObject::GetDigits, MatrixObject::SetDigits

Header to Include

origin.h