How i can convert my decimal variable value to percentage

NoDec = 0.45

need to convert it into as 45%

Hai @Omkar_Deshmukh…
Are u using this process in excel? If u r using excel means follow the steps given below…
Hope these steps would help you resolve this

  1. use a excel application scope and pass the file path as input
  2. In the scope use a Read Range activity and get the output with a variable of type datatable named dt
  3. Then use a for each row loop and pass the above variable as input
  4. Inside the loop use a assign activity like :point_down:
    row(which cell u want to print %) = Convert.ToInt32(row(Decimal value containing cell).ToString)/100*10

The use a write range activity and pass the above variable dt as input…

Hi @Omkar_Deshmukh,

You can divide a demical number by 100 to get the Percentage.

Regards,
Nithin

@Omkar_Deshmukh

NoDec.ToString(“P”)

5 Likes

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