ROUND The Values In A Column

Input collection: myProducts19

ProductAverage Sell Price
Desktop Computer985.0301
Laptop1350.05
Monitor223.035
Printer100.987
Keyboard & Mouse40


Output collection: mySolution19 (2 decimal places)

ProductAverage Sell Price
Desktop Computer985.03
Laptop1350.05
Monitor223.04
Printer100.99
Keyboard & Mouse40


Solution code:

//Create a collection
ClearCollect(myProducts19,
{Product: "Desktop Computer", 'Average Sell Price': 985.03010},
{Product: "Laptop", 'Average Sell Price': 1350.05},
{Product: "Monitor", 'Average Sell Price': 223.0350},
{Product: "Printer", 'Average Sell Price': 100.987},
{Product: "Keyboard & Mouse", 'Average Sell Price': 40}
);

//Round the values in a column code
ClearCollect(mySolution19,myProducts19);
UpdateIf(mySolution19,true,{'Average Sell Price': Round('Average Sell Price',2)})