Minor Refactoring to `NumberHelper#number_to_human`
* Use destructive `map` and `sort_by` to save extra object creation. * Create `INVERTED_DECIMAL_UNITS.invert` constant instead of repeatedly doing `DECIMAL_UNITS.invert`
Showing
想要评论请 注册 或 登录