1.0.2 • Published 4 years ago
@jswork/next-percentage v1.0.2
next-percentage
Percentage for next.
installation
npm install -S @jswork/next-percentage
usage
import '@jswork/next-percentage';
const res1 = nx.percentage(1, 3);
const res2 = nx.percentage(2, 3);
const res3 = nx.percentage(3, 3);
const res4 = nx.percentage(4, 3);
// '33.33'
// '66.67'
// '100'
// '133.33'
license
Code released under the MIT license.