Project

General

Profile

« Previous | Next » 

Revision 31cb8b31

Added by Scott Ullrich over 19 years ago

Use (double)

View differences:

usr/local/www/ifstats.php
72 72
	}
73 73
	
74 74
	$temp = gettimeofday();
75
	$timing = $temp["sec"] + $temp["usec"] / 1000000.0;
75
	$timing = (double)$temp["sec"] + (double)$temp["usec"] / 1000000.0;
76 76

  
77 77
	echo "$timing|" . $ifinfo['inbytes'] . "|" . $ifinfo['outpkts'] . "\n";
78 78

  

Also available in: Unified diff