In article <(E-Mail Removed)>, Tad McClellan wrote:

> Justin C <(E-Mail Removed)> wrote:

>> In article <AIKYh.2898$r77.978@trndny08>, Jürgen Exner wrote:

>>> Justin C wrote:

>

>>>> I'm trying to round weights (with up to two decimal places) up to the

>>>> next half kilo (unless the weight is an exact or .5 kilo already).

>

>>> For one I am pretty sure there are modules on CPAN that do floor() and

>>> ceiling() functions.

>>

>> There are that, and, IIRC (from today's Googling for a round() function)

>> they are part of POSIX, and therefore (if my understanding is correct)

>> already installed.

>>

>> Trouble is, I don't know what those are/do, perldoc wasn't much help,

>> I suppose they're mathematical functions, I didn't get that far with my

>> education and so didn't understand,

>

> http://en.wikipedia.org/wiki/Ceiling_function
Thanks. I understand most of what that document says, the notation does

my head in though

Justin.

--

Justin C, by the sea.