View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave F Dave F is offline
external usenet poster
 
Posts: 2,574
Default =ROUNDUP(INT(0.xxx))

Yes, you're right, I did mean =ROUNDUP(INT(0.999),0)

Thanks.
--
Brevity is the soul of wit.


"Dave Peterson" wrote:

=roundup() takes two arguments.

If you mean:
=ROUNDUP(INT(0.9999),0)

then 0 looks like the only correct answer to me.

=int(0.9999) will be 0
=roundup(0,0) will still be 0.



Dave F wrote:

This function should always return 0, correct?

Ex.: =ROUNDUP(INT(0.9999)) is really =ROUNDUP(0)

A colleague claims this is a bug in Excel; I claim this is correct.

Dave
--
Brevity is the soul of wit.


--

Dave Peterson