diff --git a/webui/user-logs.php b/webui/user-logs.php
index cb9d5d9107d1d66d9b168efd49a121377817c5d8..51ab61db3783d4ecb8d560d4e821d28f70dc9eaf 100644
--- a/webui/user-logs.php
+++ b/webui/user-logs.php
@@ -195,7 +195,7 @@ if (isset($_POST['user_id'])) {
 			$sessionTimeItem = 0;
 
 			if (!empty($row->acctsessiontime) && $row->acctsessiontime > 0) {
-				$sessionTimeItem += $row->acctsessiontime / 60;
+				$sessionTimeItem += ($row->acctsessiontime - ($row->acctsessiontime % 60)) / 60;
 			}
 
 			$totalSessionTime += $sessionTimeItem;
@@ -217,7 +217,7 @@ if (isset($_POST['user_id'])) {
 				<td class="textcenter"><?php echo $row->nasidentifier; ?></td>
 				<td class="textcenter"><?php echo $row->nasipaddress; ?></td>
 				<td class="textcenter"><?php echo $row->acctdelaytime; ?></td>
-				<td class="textcenter"><?php printf('%.2f',$sessionTimeItem); ?> Min</td>
+				<td class="textcenter"><?php echo $sessionTimeItem; ?> Min</td>
 				<td class="textcenter"><?php printf('%.2f',$inputDataItem); ?> MB</td>
 				<td class="textcenter"><?php printf('%.2f',$outputDataItem); ?> MB</td>
 				<td class="textcenter"><?php echo $row->acctstatustype; ?></td>
@@ -257,7 +257,7 @@ if (isset($_POST['user_id'])) {
 				<td class="textcenter"></td>
 				<td class="textcenter"></td>
 				<td class="textcenter"></td>
-				<td class="textcenter" style="font-weight: bold;"><? printf('%.2f',$totalSessionTime); ?> Min</td>
+				<td class="textcenter" style="font-weight: bold;"><? echo $totalSessionTime; ?> Min</td>
 				<td class="textcenter" style="font-weight: bold;"><? printf('%.2f',$totalInputData); ?> MB</td>
 				<td class="textcenter" style="font-weight: bold;"><? printf('%.2f',$totalOutputData); ?> MB</td>
 				<td class="textcenter"></td>