Function solana_sdk::native_token::sol_to_lamports[][src]

pub fn sol_to_lamports(sol: f64) -> u64
Expand description

Approximately convert native tokens (SAFE) into fractional native tokens (lamports)