If you have a number that is $10,000,000 or greater. The workaround is to split the amount.
Example: You have a $18,000,000 sale, and your cost basis is $12,000,000.
Split this entry into two parts. Enter $9,000,000 for the sale twice, and $6,000,000 for the cost basis twice.
This works for the IRS because they are only concerned with matching the total.