On Sep 28, 2012, at 9:27 AM, Jim Giner wrote:
> On 9/28/2012 2:11 AM, Simon J Welsh wrote:
>> On 28/09/2012, at 6:08 PM, Chris Payne wrote:
>>
>> I would use something similar to $rounded_number = ceil($test2/1000)*1000;
>> ---
>> Simon Welsh
>> Admin of http://simon.geek.nz/
>>
> From my days
On 9/28/2012 2:11 AM, Simon J Welsh wrote:
On 28/09/2012, at 6:08 PM, Chris Payne wrote:
$test2 = '253177';
echo $tes2 . " rounded to: ";
$rounded_number = round($test2,-3);
echo $rounded_number;
Is it SUPPOSED to happy a number is sent to this little system and it's
SUPPOSED to round the num
On 28/09/2012, at 6:08 PM, Chris Payne wrote:
> $test2 = '253177';
> echo $tes2 . " rounded to: ";
> $rounded_number = round($test2,-3);
> echo $rounded_number;
>
> Is it SUPPOSED to happy a number is sent to this little system and it's
> SUPPOSED to round the number up. So if the number was 14
3 matches
Mail list logo