Change value in DataTable using LINQ or Lambda in c# with conditions

For an introduction into LINQ have a look here:
[HowTo] LINQ (VB.Net) Learning Catalogue - Help / Something Else - UiPath Community Forum

An overview of the different option to update a datacolumn value find here:
[HowTo] Overview on different options for grouping data and processing the groups - News / Tutorials - UiPath Community Forum

When both cases are to do with LINQ (e.g. for learning purpose)

Case 1:

  • DataTable Reconstruction approach
  • parsing number to Double
  • multiply
  • recreate the itemArray
  • add row to the cloned Datatable

Case 2:

  • Where Operator along with number parsing

Let us know if further assistance is needed