Kontakt script is integer-only. The closest you'll get is:Originally Posted by alx
$variable1 := ($interval * 10000 / 12 + 20000)
...which will result in a value of 25833 in your example. You'll always get a truncation of the decimal places. A trick is possible to get it to round, if you need that kind of accuracy.
$variable1 := ($interval * 100000 / 12 + 200005) / 10
fizbin


Reply With Quote
.

Bookmarks