Calculate inches as a float rounds them to inches, eighths, sixteenths, etc:
inches(1) // 1´
inches(2.75) // 2 3/4´
inches(3.875) // 3 3/16´
inches(4.9) // 4 3/16´
Calculate inches as a float rounds them to inches, eighths, sixteenths, etc:
inches(1) // 1´
inches(2.75) // 2 3/4´
inches(3.875) // 3 3/16´
inches(4.9) // 4 3/16´
npm i inches
0
0.3.0
none