[vbox-dev] Question to IMedium::size

Thomas Trepper thomas.trepper at blueclaim.com
Sun Jan 10 10:17:55 PST 2010


Hi all,

com.sun.xml.ws.commons.virtualbox_3_1.IMedium.getSize() returns in java 
a BigInteger und the doku says, this size is in Bytes.
How do I convert it into MB? Are 1000 or 1024 Bytes a MB?

(The LogicalSize is already in MB)

Sorry for this stupid question and thanks a lot in advance.

Thomas






More information about the vbox-dev mailing list