feat: more decimal points

This commit is contained in:
əlemi 2023-11-18 05:47:30 +01:00
parent 2d5ab36f67
commit 77620f9ea1
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -42,5 +42,5 @@ fn main() {
println!("Content-type: application/json"); println!("Content-type: application/json");
println!(); println!();
println!("{{\"id\":{},\"mood\":\"{}\",\"chance\":{:.3}}}", index, choice, chance); println!("{{\"id\":{},\"mood\":\"{}\",\"chance\":{:.6}}}", index, choice, chance);
} }