in reply to Re: Ceiling elements of an array!
in thread Ceiling elements of an array!

Hi Vinoth.ree,

Thank for quick answer!

But how can I apply that method for elements in array?

Replies are listed 'Best First'.
Re^3: Ceiling elements of an array!
by Happy-the-monk (Canon) on May 06, 2015 at 12:03 UTC

    how can I apply that method for elements in an array?

    Have a look at pme's answer... or go for loop constructs: foreach for small arrays or while for larger data.

    Cheers, Sören

    Créateur des bugs mobiles - let loose once, run everywhere.
    (hooked on the Perl Programming language)