cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ahmadsultan
New Member

Unable to convert text to number

Hello,

I am having trouble in converting text which I get as an output from Python Script to number in PAD. I've tried everything but I'm unable to figure it out. The text displays perfectly fine in Message Box but is unable to convert to number and gives this error 😞The error I getThe error I get

 

1 ACCEPTED SOLUTION

Accepted Solutions
tkuehara
Super User
Super User

Hi @ahmadsultan 

 

Yeah, this seems to be a PAD bug. As a workaround, you could use JS as a intermediary and then use the convert function:

tkuehara_2-1630425516466.png

 

tkuehara_0-1630425441104.png

 

View solution in original post

4 REPLIES 4
MichaelAnnis
Super User
Super User

I know this isn’t the answer you are looking for, but would you be able to possibly write the text to something and read the text from that, then possibly be able to convert the text you just read. 

Just write text to temp.csv, read text from temp.csv, convert. 

Best of luck!

Thanks for replying @MichaelAnnis, I tried your method and it still gives that error. Strange😩

tkuehara
Super User
Super User

Hi @ahmadsultan 

 

Yeah, this seems to be a PAD bug. As a workaround, you could use JS as a intermediary and then use the convert function:

tkuehara_2-1630425516466.png

 

tkuehara_0-1630425441104.png

 

Hi @tkuehara,

Your technique worked for me. Thanks a lot! 😄

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,080)