Skip to main content

optional_cost_spend

Function optional_cost_spend 

Source
pub(super) fn optional_cost_spend(
    base_cost: f64,
    maximum_cost: f64,
    current_resource: f64,
) -> f64