The thing I don't understand is why this special operator even exists,
since I have never seen the "\" operator before. And so the question
is what 11/3 should really return. I don't know what it returns in
VisualBasic (since SB should resemble VB), but I would rather like to
have it the C way.

There is also an open issue on this, it would love to get some more
attention I guess ;-).
http://qa.openoffice.org/issues/show_bug.cgi?id=51219

2005/12/14, Laurent Godard <[EMAIL PROTECTED]>:
> Hi Felix,
>
> > How do I perform an integer division (e.g. 11 / 3 = 4) in OpenOffice Basic?
>
> try this
> 11 \ 3 = 3
> or fix(11/3)
>
> the rounding depends of what you need
> for me 11/3 is rounded to 3
>
> Laurent

--
Best Regards
Christian Junker

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to