I'm trying to divide screenwidth by a variable in order to draw equally spaced UI parts in webview.
However, when the variable is 3, 100 / 3 results 33.3333333333333336 in JavaScript, and the third part cannot be drawn as intended because the sum of the quotients is bigger than 100%, I gusss.
Is there any nice workaround for this problem?