Home › Forums › kdb+ › Five easy pieces #2: getting around › Re: Five easy pieces #2: getting around
-
Eliminating
up
anddn
is a good move, but that doesnt quite work.q)rnd:{(`up`dn`nr!(f ceiling;(f:{string(x z*s)%s:10 xexp y})floor;.Q.f'))[z][;y;x]} q)q:9.638554216867471 q)rnd[q;2;`up] {string(x z*s)%s:10 xexp y}[-_-:][;2;9.638554]