campo-sirio/src/gfm/dprec.c
mtollari 1b14ec9415 Spostamento cartella sorgenti
git-svn-id: svn://10.65.10.50/branches/R_10_00@23236 c028cbd2-c16b-5b4b-a496-9718f37d4682
2016-09-09 13:59:02 +00:00

40 lines
595 B
C
Executable File

/* 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 <stdio.h>
#include "gm.h"
#include "gmsystem.h"
int DecimalPrecision(pSrc)
DEC *pSrc;
{
_MacStart(GM_DPREC);
_MacInVarI(pSrc)
_MacRet(pSrc->dc.id);
}