web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Numeric Value is being...
Power Automate
Unanswered

Numeric Value is being detected as text

(0) ShareShare
ReportReport
Posted on by 11

So I am using the Extract Text with OCR as I have to grab data from a virtual machine. The problem is that it can grab the data just fine once I tweak it but afterwards the numeric data is being read as text. 

 

This is the text value of the variable and it is being read correctly. I want to convert this value into another variable by multiplying it by 1.3.

kbachani_0-1665309178661.png

 

This is the function I used and this is the error I received.

kbachani_2-1665309436414.pngkbachani_1-1665309417382.png

 

I wanted to check what type of text it was reading so I ran this through a recognize entities in text function and it gave out this value. 

kbachani_3-1665309497808.png

Instead of one value of 5.78, it gives 2 values of 5 and 78.

 

I want to make it one value. 

 

The problem is this happens only sometimes with certain numbers, other numbers are instantly detected as one value even with a decimal point. 

 

 

 

Categories:
I have the same question (0)
  • Sundeep_Malik Profile Picture
    6,484 on at
  • kbachani Profile Picture
    11 on at

    I have tried it before and it doesn't seem to work. This is the error I get. 

    kbachani_0-1665313630694.png

     

    I just tried setting the variable into my clipboard and this is what comes out 5.78 I have to find a way to remove that unrecognisable character. 

     

  • Verified answer
    kbachani Profile Picture
    11 on at

    Hey so after a lot of trial and error I found the problem. If anyone has invisible characters in their text this may be due to the replacement function. My data would sometimes be read with a space in between the numbers so I added a replace function where it would replace \s with \b but this led to power automate to create an invisible character to remove the space. I eventually figured it out and changed it to replace %' '% with %''% and that removed the spaces without adding the invisible character. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard