[ create a new paste ] login | about

Link: http://codepad.org/x4XzqhIw    [ raw code | output | fork ]

PHP, pasted on Nov 15:
1
2
3
4
5
6
7
8
<?
    $height = 1080;
    $width = 1623;
    if (($height/$width) > 0.5 && ($height/$width) < 0.8) {
        echo 'IT WORKS';
    }
    var_dump(($height/$width));
?>


Output:
1
IT WORKSfloat(0.66543438077634)


Create a new paste based on this one


Comments: