Skip to content

Commit

Permalink
change reward_rate to 3 decimal
Browse files Browse the repository at this point in the history
  • Loading branch information
cookspam committed Jun 27, 2024
1 parent 36902b0 commit 7e67731
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/landing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ fn Hero(cx: Scope) -> Element {
}
_ => 0f64,
};
let circulating_supply = format!("{:.3}", circulating_supply);
let ore_supply = format!("{:.3}", ore_supply);
let reward_rate = format!("{:.3}", reward_rate);
let circulating_supply = format!("{:.2}", circulating_supply);
let ore_supply = format!("{:.2}", ore_supply);
let reward_rate = format!("{:.4}", reward_rate);

render! {
div {
Expand Down

0 comments on commit 7e67731

Please sign in to comment.