Can you elaborate on what constitutes a favorable price-to-earnings (P/E) ratio in the realm of finance and investing? How does one determine if a company's P/E ratio is considered attractive or not? Additionally, what factors should investors consider when assessing the significance of a P/E ratio in their investment decisions?