How to remove zero-only decimal points from the displayed prices, preserving the non-zero one?

Hi,
Could you explain the edits you did in price-box.js…
My price-box.js is located here: module-catalog\view\base\web\js\price-box.js