/* int DecimalPrecision(pSrc); * * ARGUMENT * DEC *pSrc; * * DESCRIPTION * Finds the number of digits past the decimal point of pSrc. * * SIDE EFFECTS * None. * * RETURNS * The number of digits past the decimal point, or GM_NULLPOINTER. * * POSSIBLE ERROR CODES * * GM_NULLPOINTER * * AUTHOR * Jared Levy * Copyright (C) 1987-1990 Greenleaf Software Inc. All rights reserved. * * MODIFICATIONS * * */ #include #include "gm.h" #include "gmsystem.h" int DecimalPrecision(pSrc) DEC *pSrc; { _MacStart(GM_DPREC); _MacInVarI(pSrc) _MacRet(pSrc->dc.id); }