From 7e67731ed56ecb7e97550a6be63006660e4fdf36 Mon Sep 17 00:00:00 2001 From: cookspam Date: Thu, 27 Jun 2024 01:01:58 -0400 Subject: [PATCH] change reward_rate to 3 decimal --- src/components/landing.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/landing.rs b/src/components/landing.rs index 98603b0..da9f4e5 100644 --- a/src/components/landing.rs +++ b/src/components/landing.rs @@ -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 {