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 Apps / convert float to decim...
Power Apps
Unanswered

convert float to decimal in flow

(0) ShareShare
ReportReport
Posted on by 518 Moderator

Hello,

i have tables in dataverse where i stored values as float.

 

Now in a flow i have to populate another table where the data should be stored as decimal (as an additional colum will use other columns to calculate values and seems to be only possible with decimals).

 

How can i convert the floats to decimal within the flow so that i can store them in the new table.

It is not really an option to change the source table to decimal as the fields are part of multiple views and forms in canvas apps as well as model driven apps.

I would have to remove them first from all palces and add them back again. 

 

Any idea is welcome 

Categories:
I have the same question (0)
  • maulik50 Profile Picture
    58 on at

    HI @SLMR ,

     

    You could use Int() and String() function to convert data.

    I have made a test for your reference.

    maulik50_0-1700903074256.png

     

    Expression: int(first(split(string(item()?['Price']),'.')))

     

    I hope this will works.

     

    Thank you!

     

    If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.

  • SLMR Profile Picture
    518 Moderator on at

    Thanks for the quick reply.

    But int does help. I need at least to more digits.

    I could multiply it with 100 then make it int and then divide by 100.

    But i think there should by a simpler solution. 

    But even round is not available.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard