3 ms·
Same features. 4 SLoC of Ruby :) https://gist.github.com/1367091 https://gist.github.com/1367091
by jcromartie 15y ago
Same features. 4 SLoC of Ruby :)
https://gist.github.com/1367091 https://gist.github.com/1367091
- silvestrov 15y ago'floor' on last line should be changed to 'round'. ▁▁▁▁▁▁▂▂▂▂▂▂▃▃▃▃▃▃▅▅▅▅▅▅▆▆▆▆▆▆▇ = floor ▁▁▁▂▂▂▂▂▂▃▃▃▃▃▃▅▅▅▅▅▅▆▆▆▆▆▆▇▇▇▇ = round
- jcromartie 15y agoThanks! Much better.