i dont know why but my teacher seems to think i should know this stuff already when he hasn't even explained floating point yet for decimals. i had to buy a book and find it there. another problem i'm having with this is, i have to now put in 2 more edit fields for name and lastname and make a button that clears ALL fields. i thought i had it but i get an error telling me it can't convert str to float and vice versa. is there a universal clear command that clears all fields in the program regardless of the contents?
K
Kron of LS
@Kron of LS
Posts
-
Simple but very confusing to me -
Simple but very confusing to meI need to create a dialog based app that does basically one thing, calculate the total pay from 2 fields -i have 3 edit box's, 1 for hours worked, 1 for pay rate and the third for the total pay. -what it has to do is take whatever numbers i put into the first 2 fields, then by clicking a button multiplay them together and put the answer into the third field. i've seen calculation code for console based but it looks completely different then what i use for dialog. i know it must be simple but to me as a beginner, it's rather confusing. please help:confused: