I hereby claim:
- I am rickclare on github.
- I am rickclare (https://keybase.io/rickclare) on keybase.
- I have a public key ASC9uq6jRLKF11JQj4OFi_EIe_hDsf5RkQET364PYLUYkQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| showVolume = ($el, volume) -> | |
| return unless $el.length > 0 | |
| height = | |
| if volume < -45 # vary between -45 and -20 | |
| '0px' | |
| else if volume > -20 | |
| '100%' | |
| else | |
| Math.floor((volume + 100) * 100 / 25 - 220) + '%' |
| if res > 1 | |
| # round to nearest 0.5L | |
| res = ( Math.round(res*2)/2 ).toFixed(1) | |
| else | |
| # round to nearest 0.05L | |
| res = ( Math.round(res*20)/20 ).toFixed(2) | |
| end |
| <dl> | |
| <dt> | |
| What do each of the goal icons do? | |
| </dt> | |
| <dd> | |
| Nothing actually. The icons represent the most popular savings goals that we've come across, and so choosing one simply acts as a handy way to identify one from another. In the future, we'll be adding baked-in calculators specific to each type of goal. | |
| </dd> | |
| <dt> | |
| What if I don't have a specific goal? | |
| </dt> |