diff --git a/src/app/modules/homepage/demo.json b/src/app/modules/homepage/demo.json index 935063c..c3044ef 100644 --- a/src/app/modules/homepage/demo.json +++ b/src/app/modules/homepage/demo.json @@ -3,7 +3,7 @@ "id": 1, "file_completion": 100, "created_by": "John Doe", - "execution_time": 42.021, + "execution_time": 42.02, "status": "completed", "metrics": ["time_series"], "error": 26.207 diff --git a/src/app/modules/homepage/demoTable.tsx b/src/app/modules/homepage/demoTable.tsx index ac279bc..6d4e9d4 100644 --- a/src/app/modules/homepage/demoTable.tsx +++ b/src/app/modules/homepage/demoTable.tsx @@ -55,7 +55,8 @@ export default function DemoBoard() { groupable: false, headerClassName: 'text-center', valueGetter: (params: any) => { - return params !== null && params !== undefined ? params + '%' : 0 + '%'; + return params !== null && params !== undefined ? + params.toFixed(2) + '%' : 0 + '%'; }, }, { @@ -65,7 +66,8 @@ export default function DemoBoard() { align: 'center', flex: 1, valueGetter: (params: any) => { - return params !== null && params !== undefined ? params : 'N/A'; + return params !== null && params !== undefined ? + params.toFixed(2) : 'N/A'; }, }, { @@ -75,7 +77,8 @@ export default function DemoBoard() { align: 'center', flex: 1, valueGetter: (params: any) => { - return params !== null && params !== undefined ? params : 0; + return params !== null && params !== undefined ? + params.toFixed(2) : 0; }, }, { @@ -114,7 +117,7 @@ export default function DemoBoard() { }} className='content-center justify-center'> + className="text-5xl font-bold sTextColor scale-[0.73] mt-2"> Demo Board );