sarahdayan

Joined 8 years ago

Karma
47
Submissions
12
Member since
Feb 3
I'm a front-end developer with a taste for design and typography. I like to share what I know on HTML, CSS and JavaScript.
View on Hacker News

Recent submissions

Comment · 6 years ago
Hi there! I work at Algolia and I may have a solution for you: you can filter on ranges to offer that kind of experience.

For instance, if you decide to accept a +/- $20 margin, instead of filtering on exact price, you'd create a filter like `price < 180 AND price > 220` (replacing the numbers with your formula to calculate the range).

This gives you full power on what is the "error margin" you accept. Hope this helps!

Comment · 8 years ago
Simple typo, fixed :)
Comment · 8 years ago
Good call, will fix.
Comment · 8 years ago
Comment · 8 years ago
Good call, I’ll fix that
Comment · 8 years ago
Hey! You need to use the allocate method for this. It will redistribute fractional cents and return an array of Dinero objects.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton