Round off trim variable to make sure we convert it to logical correctly