cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Floating numbers are stored in dynamics as integer

When I create a record in dynamics, and I put a value in one of the fields of type currency, and the value has decimal number, it is saved as a whole ignoring the decimal, for example if I keep the value: 37.75, in dynamics it appears $ 3775.00.

I have already tried changing 37.75 to 37.75, using the replace to change the "." for the "," and the same thing keeps happening.

The problem field is "Coste estimado" which is currency type in dynamics.

coste.png

 

 

For testing I have also tried putting in this field "Coste Estimado" 3745 divided by 100, in dynamics should appear $ 37.45, however it appears $ 3745.00.

 

The same thing happens to me when updating or creating any field of type float or currency in dynamics from FLOW

 

Please any ideas on how to solve the problem?

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: Floating numbers are stored in dynamics as integer

Hi @Yruiz,

 

Which entity are you using? Please share a full screenshot of your flow.

I am trying to reproduce this issue on my side.

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Administrator
Administrator

Re: Floating numbers are stored in dynamics as integer

Hey, @Yruiz!

 

It appears as though @v-yamao-msft would like some more information in order to further assist you properly with your issue. Please share any additional information that was requested in order to decrease the amount of time that it will take for you to be assisted!

 

Thank you for being an active member of the Flow Community!

-Gabriel
Flow Community Manager

-Gabriel
Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!
Highlighted
Frequent Visitor

Re: Floating numbers are stored in dynamics as integer

Hello and apologize for the delay in my response.
I have reproduced and documented the error step by step to explain myself better.
In the entity cases I have added a field of type Currency called "example":

campo.PNG

 

I created this example FLOW:

 Capture.PNG

 

In which I initialize a variable of floating type, with the value 13.21. 
Then I updated the field "example" with the value of the variable.

 

 

Capture1.PNG

 

The problem is that when I update the field "example" created in 
dynamics the logical and correct is that I put 13.21 $ however it puts 1321.00 $

 

 

vista.PNG

I did a replace of "." By "," in the FLOW and the result is exactly the same.
This time initialize the variable with the value: 16.82

 

 

segundaprueba.PNGreplace.PNG

 

And the result is incorrect again:

 

vista2.PNG

 

I have also tried converting the value in dynamics to floating number, to decimal number. 
I have also tried converting the number in FLOW to float,
I have also tried changing the language of my dynamics and the format
of number and currencies of the dynamics, changing from "," to ".",
But the same thing is still happening.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (7,766)