[rust-dev] (no subject)

Renato Lenzi rexlen at gmail.com
Sat Mar 2 16:48:36 PST 2013


Hi there.
How can i cast from int to float?
that is:
let x = 3
let mut f = 3.0
f = f * x

this doesn't work... i have to change from int to float... is this possible?

Thx in advance.


More information about the Rust-dev mailing list