Decimal megabytes to gigabytes

Use GB = MB × 0.001. An illustrative 2,750 MB gives 2.75 GB, and the starting 10 MB gives 0.01 GB.

Gigabytes written in MB

An entry of 0.64 GB returns 640 MB with the selections reversed. The multiplier in that direction is 1,000.

When the source says MiB or GiB

Use the separate mebibyte and gibibyte options for those symbols. Their step is 1,024, so treating them as MB and GB would give a different result.