Function solana_farm_sdk::math::checked_as_u128
source · [−]pub fn checked_as_u128<T>(arg: T) -> Result<u128, ProgramError> where
T: Display + ToPrimitive + Clone,
pub fn checked_as_u128<T>(arg: T) -> Result<u128, ProgramError> where
T: Display + ToPrimitive + Clone,