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

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........