LibreOffice-Calc 7.1.4.2: How to display input bar results in a cell, *or* what is fraction-to-decimal formula?

In one cell (For eg: A1) you shall format it to display the fraction. In another cell(For eg: B1), you shall copy the content of A1 using the command

=A1

The content of B1 shall be tweaked to display decimals by formatting it to display 'numbers'.