"Megabyte" and "Gigabyte" now mean the hardware manufacturer standard of 1MB = 10^6, 1GB = 10^9 etc.
These and other measurements done in base 2 like we learned 50 years ago are now "Mibibyte" (MiB 2^20) and "Gibibyte" (GiB 2^30), etc.
https://www.lenovo.com/us/en/glossary/what-is-gibibyte
Jack Woehr
Independent Consulting Programmer
[icon] 303-847-8442<tel:303-847-8442>
[icon] jack.woehr@xxxxxxxxxxx<mailto:jack.woehr@xxxxxxxxxxx>
[icon] www.procern.com<
https://www.procern.com>
[icon] Stay Connected!<
https://www.linkedin.com/company/procern-technology-solutions/>
[photo]
Upgrade your IT state of mind!<
https://procern.com/24-7-monitoring-itil-management/>
NON-DISCLOSURE NOTICE: This communication including any and all attachments is for the intended recipient(s) only and may contain confidential and privileged information. If you are not the intended recipient of this communication, any disclosure, copying further distribution or use of this communication is prohibited. If you received this communication in error, please contact the sender and delete/destroy all copies of this communication immediately.
[__tpx__]
________________________________
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Daniel Gross <daniel@xxxxxxxx>
Sent: Friday, January 9, 2026 06:47
To: midrange-l@xxxxxxxxxxxxxxxxxx <midrange-l@xxxxxxxxxxxxxxxxxx>
Cc: midrange-l@xxxxxxxxxxxxxxxxxx <midrange-l@xxxxxxxxxxxxxxxxxx>; Vern Hamberg <vhamberg@xxxxxxxxxxxxxxx>
Subject: Re: Using QSYS2.HTTP_GET_BLOB to download file larger than 16mb with SQL
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Vern Hamberg:
I am sorry to have to say, but 2 GB is actually 1 more than 2,147,483,647 - still, it is more than 16 MB - I believe a GB in this context is 1024 * 3, not 1000 * 3.
It can be - and it's also my preferred calculation
2GB = 2 * 1024 ** 3 bytes
but the rest of our world already adopted the "new" form of 2 * 1000 ** 3 - just ask Google "How many bytes in 2GB" and your answer will be
2GB = 2000000000 bytes
Jack Woehr
Independent Consulting Programmer
303-847-8442
jack.woehr@xxxxxxxxxxx
www.procern.com
Stay Connected!
Upgrade your IT state of mind!
NON-DISCLOSURE NOTICE: This communication including any and all attachments is for the intended recipient(s) only and may contain confidential and privileged information. If you are not the intended recipient of this communication, any disclosure, copying further distribution or use of this communication is prohibited. If you received this communication in error, please contact the sender and delete/destroy all copies of this communication immediately.
As an Amazon Associate we earn from qualifying purchases.