I want to have a nice way to show sol amounts in my code:
use anchor_lang::solana_program::native_token::LAMPORTS_PER_SOL;
const REWARD: u64 = LAMPORTS_PER_SOL * 0.1; // 0.1 SOL
I am getting this error:
help: the trait Mul<{float}>
is not implemented for u64
How would I solve that in Rust?