🥾 Markdown (Price) Calculator
An interactive in-browser calculator for quickly determining markdowns (ending in .99) while ensuring a minimum target discount. This page has been refactored from a standalone HTML file into an Observable Framework page.
How it Works
- Enter (or adjust) a target discount percent for the current pricing session.
- Enter original prices one after another; each result is rounded to the nearest qualifying .99 price that still meets (or slightly exceeds) the discount.
- A running reverse‑chronological history is maintained for quick reference.
Notes
- This component is self-contained; no external libraries required.
- To adapt pricing logic (e.g. end in .97 instead of .99), modify
calculateMarkdown
. - Offline/PWA service worker from the original file was removed for simplicity; can be reintroduced via a custom integration if needed.