I\'ve been trying to write some Rust code in a very generic way, without specifying the types explicitly. However, I arrived at a point where I need to convert a usiz
usiz
You can do it using as:
as
let num: f64 = 12 as f64 ;