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

--
Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org
Indesko >> http://www.indesko.com
Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org
Livre "Programmation OpenOffice.org", Eyrolles 2004

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

Reply via email to