
I got a program that i hope that someone would be able to assist me on. (I've attached it below)
Okay the program needs to split a var controlled by a button, this variable is called Knapsoap1 and needs to be split up into 2 variables Soapmin and Soapsek.
When Knapsoap1 =0-59, Soapmin = 0 and Soapsek = 0-59 and when Knapsoap1 = 60, Soapmin = 1 and Soapsek=0 and so on...
But as you can see in my program it becomes quiet huge after 180 so i was wondering if there was a smartere solution.
Thank you for reading this and I hope that you got an answer

Regards Michael