mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 14:18:13 +01:00
should be remain > 1
This commit is contained in:
parent
86865c6861
commit
50a658c20a
@ -1,3 +1,3 @@
|
||||
function __nearest_multiple_of_4(n) =
|
||||
let(remain = n % 4)
|
||||
remain > 2 ? n - remain + 4 : n - remain;
|
||||
remain > 1 ? n - remain + 4 : n - remain;
|
||||
|
Loading…
x
Reference in New Issue
Block a user