mirror of
https://git.alemi.dev/mood.git
synced 2024-11-22 00:24:47 +01:00
feat: more decimal points
This commit is contained in:
parent
2d5ab36f67
commit
77620f9ea1
1 changed files with 1 additions and 1 deletions
|
@ -42,5 +42,5 @@ fn main() {
|
|||
|
||||
println!("Content-type: application/json");
|
||||
println!();
|
||||
println!("{{\"id\":{},\"mood\":\"{}\",\"chance\":{:.3}}}", index, choice, chance);
|
||||
println!("{{\"id\":{},\"mood\":\"{}\",\"chance\":{:.6}}}", index, choice, chance);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue