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

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

Last modified 6 years ago Last modified on 04/12/18 12:49:22
Note: See TracWiki for help on using the wiki.