Issue while adding the datat to the queue

Hi ,
Dispatcher reads a data (ID) from the excel and adds it into the queue .
ID - 6213295502387270. In queue also i could see 18 digit number

But when performer enters the details it comes like 6.21329550238727E+15 .How to fix this .Please help

1 Like

@tharani.natarajan

Can you please let us know if this is happening in excel? or where?

what activity are you performing?

cheers

@tharani.natarajan

transactionItem.SpecificContent(cint(“ID”)).ToString

Once try in this way…

Hi

NormalNumberString = Decimal.Parse(“1.17751151932438E+16”, System.Globalization.NumberStyles.Float).ToString

Refer this thread for more discussion

Hope this helps

Cheers @tharani.natarajan

1 Like

Hello @tharani.natarajan

  1. When reading the data from Excel, make sure to specify that the data type should be treated as text. In “Read Range” activity properties, set the “Preserve Format” option to True.
  2. After reading the data from Excel, store it as a string variable. This ensures that the number is treated as text and not as a numeric value.
  3. When you enter the details, UiPath will treat the value as a string, and it won’t convert it to scientific notation.

If you are reading from Excel, check if the data is correct in the file. If it is, you can try to use Workbook activities for reading the file. Activities - Read Range Workbook - https://docs.uipath.com/

Hope it’s clarified
If yes
Would recommend to close this topic

If not we can keep this open for discussion

@tharani.natarajan

1 Like

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