Integer variable not setting properly

Not sure, but I believe there is a selection on the reply that says solution or something, but no worries glad to help :slightly_smiling_face: