Thank you Petra! The Lots=%i was indeed causing the following OptF values in the printf statement to be incorrect. Changing to Lots=@.2f fixed the display problem and the OptF values are printing correctly.

I will be trying to use the watch function to avoid these mistakes in the future. Thanks again!


Andrew, thanks for the note. I still need to do some experimenting to fully understand how they are connected.