Declare more floatvals

This commit is contained in:
johnnyq
2022-12-05 23:10:34 -05:00
parent 86467bc9c9
commit fe4c413643
18 changed files with 25 additions and 26 deletions

View File

@@ -149,7 +149,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
while($row = mysqli_fetch_array($sql)){
$expense_id = $row['expense_id'];
$expense_date = $row['expense_date'];
$expense_amount = htmlentities($row['expense_amount']);
$expense_amount = floatval($row['expense_amount']);
$expense_currency_code = htmlentities($row['expense_currency_code']);
$expense_description = htmlentities($row['expense_description']);
$expense_receipt = htmlentities($row['expense_receipt']);