Commit fca87ace authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

taxis update

parent 8a591cf8
......@@ -835,6 +835,7 @@ void decode_timevalue(int timeunit, double timevalue, int *days, int *secs)
{
*days = (int) (timevalue/86400);
*secs = (int) (timevalue - *days*86400.);
if ( *secs < 0 ) { *days -= 1; *secs += 86400; };
/*
{
double cval = *days*86400. + *secs;
......@@ -847,6 +848,7 @@ void decode_timevalue(int timeunit, double timevalue, int *days, int *secs)
{
*days = (int) timevalue;
*secs = (int) ((timevalue - *days)*86400);
if ( *secs < 0 ) { *days -= 1; *secs += 86400; };
/*
{
double cval = *days + *secs/86400.;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment