home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
xbase
/
library
/
clipper
/
rettig
/
source
/
sstoh.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-10-21
|
364b
|
19 lines
/*********
* SSTOH
* by Tom Rettig
* Placed in the public domain by Tom Rettig Associates, 10/22/1990.
*
* Syntax: SSTOH( <expN> )
* Return: Numeric hours from <expN> seconds.
*********/
#include "trlib.h"
TRTYPE sstoh()
{
if ( PCOUNT == 1 && ISNUM(1) )
_retnd( (double)_parnl(1) / 3600 );
else
_retnd( (double)ERROR );
}