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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

Collection

(0) ShareShare
ReportReport
Posted on by 15

Hi everyone, i hope all by fine.

I have a little question, in my app, i´m using a collection for make a shopping car, in the collection i save the products that the user select, all function well, but i see that when saving the amount of the purchase and it is a decimal number, it put an integer in the column of the collection

This is the code in the button that make the function to save in the collection:

 

Collect(ColCarrito;
{FechaPedido:Fecha.SelectedDate;
Producto:GalleryProducto.Selected.Producto;
MontoPedido:Value(GalleryProducto.Selected.Precio) * Value(TextInput1.Text);
CantidadPedido:Value(TextInput1.Text);
Cliente:GalleryCliente.Selected.NOMBRE

 

In the image below show the screens and the collect.

Thanks for your help

p3.PNG
p1.PNG
p2.PNG
Categories:
  • WarrenBelz Profile Picture
    156,963 Most Valuable Professional on at

    Hi @LuisHQ1 ,
    Assuming you are using SharePoint here, have you checked the number of decimal places allowed in the field in your List Settings ?

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • LuisHQ1 Profile Picture
    15 on at

    Hello Warre, thanks for your answer, but no, i´m not using sharepoint, my  data is from excel

  • Verified answer
    WarrenBelz Profile Picture
    156,963 Most Valuable Professional on at

    Hi @LuisHQ1 ,

    That probably explains a lot, how is the column formatted ?

  • LuisHQ1 Profile Picture
    15 on at

    Hi Warren.

    hello warren, you were right, the data type in the excel column was wrong.

    Thanks for all!!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard