title: How do I round numbers in KDB?
body: <p>It looks like I can hack <code>floor</code> and <code>ceiling</code> into a meta function for an arbitrary <code>round</code>, but is there a standard way to do:</p>
  <pre><code>round[3.1415;2] = 3.14
  </code></pre>
  <p>from the core functions?</p>
  <p>Edit: This is problem I'm trying to solve:</p>
  <p>I have unadjusted daily stock data, and I'm trying to identify splits and filter them out. It's further complicated by decimalisation artefacts (a split might not be perfectly 2:1 because prices have minimum tick sizes).</p>
  <p><a href="https://i.stack.imgur.com/sa8cL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sa8cL.png" alt="enter image description here" /></a></p>