Home > Net >  How to change all numbers by a % in Visual Studio Code
How to change all numbers by a % in Visual Studio Code

Time:11-27

Sorry I am still a beginner but slowly getting there. I want to change all the "base-purchase-prices" by a % all at once? I am tearing my hair out trying to work out how to do it. There are 7000 line items so simply saying "get a calculator" is not going to work

{ 
  "tradeable-code": "Scissors_01", 
  "base-purchase-price": "110", 
  "base-sell-price": "12", 
  "delta-price": "-1.0", 
  "can-be-purchased":"default" 
},
{ 
  "tradeable-code": "Scissors_Plastic", 
  "base-purchase-price": "88", 
  "base-sell-price": "9", 
  "delta-price": "-1.0", 
  "can-be-purchased":"default" 
},

CodePudding user response:

You can use the extension capture and change a value by a percentage

  • Related