Quick actions

cmd+k|ctrl+k

Navigation

Languages

floating-point-comparison/rust/main.rs

Snippet info

Language

Rust

Visibility

public

Author

zostay

Created

2016-08-29T16:31:04Z

Updated

2016-08-29T16:31:04Z

fn main() {
   println!("Rust: {}", if 0.1 + 0.2 == 0.3 { "True" } else { "False" });
}
INFO