Discussion:
VBA Aufrunden
(zu alt für eine Antwort)
Florian Notter
2004-07-13 12:32:01 UTC
Permalink
Hallo

Wie kann ich im VBA eine Variabel auf den nächsten Einer
aufrunden?

Vielen Dank für eure Antworten.

Gruss Florian Notter
Frank Kabel
2004-07-13 12:42:49 UTC
Permalink
Hi Florian
eine Möglichkeit:
msgbox application.roundup(1.05,0)

was z.B.: '2' ergibt

oder
msgbox application.ceiling(1.05,1)


--
Regards
Frank Kabel
Frankfurt, Germany
Post by Florian Notter
Hallo
Wie kann ich im VBA eine Variabel auf den nächsten Einer
aufrunden?
Vielen Dank für eure Antworten.
Gruss Florian Notter
Florian Notter
2004-07-13 12:59:02 UTC
Permalink
Danke es hat funktioniert.
-----Originalnachricht-----
Hi Florian
msgbox application.roundup(1.05,0)
was z.B.: '2' ergibt
oder
msgbox application.ceiling(1.05,1)
--
Regards
Frank Kabel
Frankfurt, Germany
Post by Florian Notter
Hallo
Wie kann ich im VBA eine Variabel auf den nächsten
Einer
Post by Florian Notter
aufrunden?
Vielen Dank für eure Antworten.
Gruss Florian Notter
.
Loading...