finished final project
Deploy CSIS 2440 / deploy (push) Canceled after 0s

This commit is contained in:
2025-05-05 21:53:39 -06:00
parent 5cd4571a92
commit 3f844e4e06
32 changed files with 1087 additions and 219 deletions
+15
View File
@@ -8,6 +8,21 @@ function pretty_dump($arg)
return ob_get_clean();
}
function format_money($in)
{
$in = '$' . $in;
$parts = explode('.', $in);
if (count($parts) == 1)
$in .= '.00';
else {
if (strlen($parts[1]) == 1) {
$in .= '0';
}
}
return $in;
}
function random_string()
{
$characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';