droid wrote:
[* 1000] | [int] | [/ 1000]
presumably you mean
[/ 1000] | [int] | [* 1000]
which works.
depends on what you want: your solution would quantize a number like "1234" to "1000" mine would quantize a number like "0.1234567" to "0.123"
i wrote: to quantize to "1/1000", meaning 0.001 steps.
mfg.a.dr IOhannes