How to subtract one variable from another
hi
i making moon phase calculator. have variable called (total) total number of days passed since 0bc variable changes every day. want subtract variable (newmoon) same number time. wondering how subtract chenging everyday (total) fixed number (newmoon). want call new total (daysince). have tryed: toal-newmoon=daysince doesnt work not sure how it. thanke in advance advice.
try this:
daysince = toal - newmoon
so result of "toal" substruct "newmoon" in "daysince". i hope can help you.
best regards martin
Learning > Small Basic
Comments
Post a Comment