How to Write data Dynamically?

I need to create a marksheet for each student.
And in the data sheet I need the percentage column as (82.33 and not 82.33333).
Can anyone Help…

To round off the number to two decimal

let say u are iterating through the datatable which contains the marksheet of students

use this assign activity

percentage= Math.Round(CDbl(row(“percentage”)),2)

then u get the percentage with 2 decimal places which can be inserted into the excel file.

Nived N
Happy Automation

1 Like

Thank you…!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.