tools/rc/to_f64.rs
author Wuzzy <Wuzzy@disroot.org>
Wed, 28 Jun 2023 12:46:04 +0200
changeset 15965 634d017650dc
parent 15951 5aed6c0b63e2
permissions -rw-r--r--
Fix error if passing bad number script param to Battallion/Space Invasion

pub fn to_f64<T: Into<f64>>(v: T) -> f64 {
    v.into()
}