From 180c3de11cab3575243c0ba06e1914070271865d Mon Sep 17 00:00:00 2001 From: ogerly Date: Thu, 14 Oct 2021 16:06:05 +0200 Subject: [PATCH] error rounding in transactions list fixed --- frontend/src/components/DecayInformation.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/DecayInformation.vue b/frontend/src/components/DecayInformation.vue index 04a850040..2b9e38306 100644 --- a/frontend/src/components/DecayInformation.vue +++ b/frontend/src/components/DecayInformation.vue @@ -65,7 +65,7 @@
{{ $t('decay.decay') }}
-
- {{ decay.balance }}
+
- {{ $n(decay.balance, 'decimal') }}

@@ -81,8 +81,8 @@
{{ $t('decay.received') }}
-
- {{ balance }}
-
+ {{ balance }}
+
- {{ $n(balance, 'decimal') }}
+
+ {{ $n(balance, 'decimal') }}
@@ -91,7 +91,7 @@
{{ $t('decay.decay') }}
-
- {{ decay.balance }}
+
- {{ $n(decay.balance, 'decimal') }}
@@ -101,10 +101,10 @@
- - {{ parseInt(balance) + decay.balance }} + - {{ $n(parseInt(balance) + decay.balance, 'decimal') }}
- {{ parseInt(balance) - decay.balance }} + {{ $n(parseInt(balance) - decay.balance, 'decimal') }}