Convert lamports to SOL (9 decimal places).
1.0.0
lamportsToSol(Lamports(1_000_000_000n)); // 1.0 Copy
lamportsToSol(Lamports(1_000_000_000n)); // 1.0
Amount in lamports (bigint or branded).
Amount in SOL as a floating-point number.
Convert lamports to SOL (9 decimal places).
Since
1.0.0
Example