From 2998ce2397f32fbd1af9ab517dddd60507e5f188 Mon Sep 17 00:00:00 2001 From: KarthiKeyanZ Date: Fri, 3 Feb 2023 05:12:28 +0000 Subject: [PATCH] vitex api changes --- .../view/home/block-detail-list/block-detail-list.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/view/home/block-detail-list/block-detail-list.component.ts b/src/app/view/home/block-detail-list/block-detail-list.component.ts index 849fdae..6347a48 100644 --- a/src/app/view/home/block-detail-list/block-detail-list.component.ts +++ b/src/app/view/home/block-detail-list/block-detail-list.component.ts @@ -100,6 +100,8 @@ export class BlockDetailListComponent implements OnInit { if (res["msg"] == 'ok') { console.log(res.data); this.epicData = res.data; + //console.log(parseFloat(this.epicData.lastPrice).toFixed(3)); + this.epicData.lastPrice = parseFloat(this.epicData.lastPrice).toFixed(3); resolve(); } },