Yet Microsoft's current earnings yield is 3.35%, with its current P/E ratio of 29.8. Considering Microsoft has a higher credit rating than the U.S. government, its earnings yield could probably at least be the equivalent of Treasuries. That's because Microsoft's earnings should grow by double digits over the next several years and maybe longer, powered by the company's wide-moat software franchises.