You are viewing a single comment's thread. Return to all comments →
Easy JS Solution
let frontPageGroup = Math.floor(p / 2); let backPageGroup = Math.floor(n / 2); return Math.min(frontPageGroup, (backPageGroup - frontPageGroup));
Seems like cookies are disabled on this browser, please enable them to open this website
Drawing Book
You are viewing a single comment's thread. Return to all comments →
Easy JS Solution