Reading cell but not getting ending zero

Hi ,

I am Reading a cell whose value is 3.20800 using read cell activity inside Excel application scope.
But when I am printing that value then only getting 3.208 and its not giving last 2 zero.

Please help

1 Like

Are you using datatype as Double ? By default , double excludes the trailing zeros . If you have a number lets say as 3.20801 , it would print the exact value .

yes I am using double data type .
is there any other approach so that I can get the zeros as well ?


one thing you can do is,

  1. in the excel file , you can update the particular column to be Text.
  2. Update the output data type of the value in read cell as string .

This can solve if you really need those 0