How to convert Solana Lamports to sol

Assuming I have 9000000000 lamports. how do i convert it to SOL.

Thanks

Just divide by the number of lamports per sol:

9000000000 / web3.LAMPORTS_PER_SOL