pub fn from_keys_f32(keys: f32, key_price: i32) -> Self {
        Self {
            keys: keys as i32,
            metal: ((keys % 1.0) * key_price as f32) as i32
        }
    }
/// Converts an f32 key value into `Currencies` using the given key price represented as 
/// weapons.
Converts an f32 key value into `Currencies` using the given key price represented as
weapons.
Converts an f32 key value into ` Currencies ` using the given key price represented as weapons .
pub fn from_keys_f32(keys: f32, key_price: i32) -> Self {
        Self {
            keys: keys as i32,
            metal: ((keys % 1.0) * key_price as f32) as i32
        }
    }
pub fn from_keys_f32 ( keys : f32 , key_price : i32 ) -> Self { Self { keys : keys as i32 , metal : ( ( keys % 1.0 ) * key_price as f32 ) as i32 } }
Converts an f32 key value into `Currencies` using the given key price represented as
weapons.
Converts an f32 key value into ` Currencies ` using the given key price represented as weapons .
keys
f32
key_price
i32
keys
f32
key_price
i32