Just to follow up on the rounding issue: Panos has now confirmed that round(5,-1) = 0 is indeed a bug, since at least LC 6(!!!): https://quality.livecode.com/show_bug.cgi?id=23522 <https://quality.livecode.com/show_bug.cgi?id=23522> /Andreas