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

Edit form viewer - decimal place of data card

Hello everyone,

 

I trying to make a screen to view the submitted data and the display always show a lot of zero after decimal place like this "60.0000000". I really don't know how to get rig of the zeros.

I tried things below but it not work.

 1. In text option of Datacardvalue: Text(Parent.Default,"[$-en-US]##.#")  

 2. I insert new text object and in Text option of Text: Text(DataCardValue123.Text,"[$-en-US]##.#")  

 

Please note that this Data was calculated in the SP List. 

 

Thank you in advance,

Thien 

1 ACCEPTED SOLUTION

Accepted Solutions
Microsoft
Microsoft

 

Hi Thien,

 

Assuming you have a SP list with a currency type field such as the one below:

 

 

And then you bring your data in a Gallery such as the one below, you could use a Round function to limit to 2 decimals:

image.png

Round(Gallery1.Selected.Currency_field,2)

 

Hope it helps.

Ovidiu

View solution in original post

1 REPLY 1
Microsoft
Microsoft

 

Hi Thien,

 

Assuming you have a SP list with a currency type field such as the one below:

 

 

And then you bring your data in a Gallery such as the one below, you could use a Round function to limit to 2 decimals:

image.png

Round(Gallery1.Selected.Currency_field,2)

 

Hope it helps.

Ovidiu

View solution in original post

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Top Solution Authors
Top Kudoed Authors
Users online (25,098)