Logarithm in Stamp
Sabai
Posts: 27
I need to do this calulation in stamp Log (243/20) can not figur ut how to do that.
B
B
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
http://www.emesys.com/BS2math3.htm#Logcalc
hope this helps.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
Yepp there is more to it when that. All values are coming from Stamp so the correct thing is to write it like this Log(x/y).
I looked one this page http://owlogic.com/BS2math3.htm#Logcalc but my problem is how to enter a value ie 12.15? I can add 1215 but not 12.15!
B
www.parallax.com/StoreSearchResults/tabid/768/txtSearch/fpu/List/0/SortField/4/ProductID/401/Default.aspx
Here is an example, PBASIC calculation of dewpoint from temperature and relative humidity: www.emesystems.com/programs/dewpoint.bsx.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
B
a = 4560
SEROUT pin,Baud,[noparse][[/noparse]DEC a/1000,".",DEC3 a//1000] ' shows 4.560
SEROUT pin,Baud,[noparse][[/noparse]DEC a/1000,".",DEC2 (a//1000)/10] ' shows 4.56
B