Solution :
The POSIX module (part of the standard Perl distribution)
implements ceil(), floor().
use POSIX;
$ceil = ceil(3.5); # 4
$floor = floor(3.5); # 3
The POSIX module (part of the standard Perl distribution)
implements ceil(), floor().
use POSIX;
$ceil = ceil(3.5); # 4
$floor = floor(3.5); # 3
No comments:
Post a Comment