Hi! Thanks for all your help, it worked like a charm

However I am stuck on one last thing before I can finish my program

tempobpm.l=Val(GetGadgetText(50))
beats.l=Val(GetGadgetText(51))
length.f=((60/tempobpm)*beats)
length$=Str(length)
SetGadgetText(52, length$)
I would like to have the answer displayed at least 2 decimal places, preferably 3 if possible. Is this the right way to go about things? A friend of mine mentioned something about floating points, so I don't know whether I'm missing something obvious or not
