I’m writing an API request to update my eCommerce website product price. I’m trying to calculate discounted price using PERCENTAGE but this result is treated as NaN.
"sale_price": floor(PRICE - PRICE * PERCENTAGE/100)))*100)/100)
PRICE and PERCENTAGE are values from spreadsheet.
How do I make this work? How do I make it a number?
Thank you for your help!