Thanks for the notes Keith, I'd be equally happy if modf() then makes it into the new internal sqlite math functions.