Statement on glibc/iconv Vulnerability

Voting

: four plus one?
(Example: nine)

The Note You're Voting On

lewis at lewishenshall dot co dot uk
15 years ago
If you're wanting to round down to the nearest hundred:

<?php
function rounddowntohundred($theNumber) {
if (
strlen($theNumber)<3) {
$theNumber=$theNumber;
} else {
$theNumber=substr($theNumber, 0, strlen($theNumber)-2) . "00";

}
return
$theNumber;

}
?>

<< Back to user notes page

To Top