Changes

no edit summary
Line 122: Line 122:  
     table.sort(result)
 
     table.sort(result)
 
     return result
 
     return result
 +
end
 +
 +
-- * Number functions.
 +
 +
function Utils.round(x)
 +
    return x % 2 ~= 0.5 and math.floor(x + 0.5) or x - 0.5
 
end
 
end
  
cssedit, gkautomate
6,926

edits