Files correlati : Ricompilazione Demo : [ ] Commento : Aggiunti i sorgenti per Greenleaf Math Library (gfm.dll) git-svn-id: svn://10.65.10.50/trunk@10079 c028cbd2-c16b-5b4b-a496-9718f37d4682
40 lines
595 B
C
Executable File
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);
|
|
}
|