wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/GetDecimal

Version 1 (modified by Don Wilson, 14 years ago) ( diff )

--

GetDecimal

Get the interval decimal places of the specified scale.

uint8 GetDecimal(int nScale);

Parameters

  • nScale - scale number

Return Value

  • Returns the interval decimal places of the specified scale

Remarks

MnBdStartup must be performed before this will return a valid result.

Example

uint8 nDec;
nDec = GetDecimal(1);
string strMsg = StrFmt("Scale interval %d", nDec);
DisplayText(10, 10, strMsg);

See Also

Note: See TracWiki for help on using the wiki.