Martin Vigesaa

unread,
Jul 17, 2014, 3:48:47 AM7/17/14
to
I'm making an app that needs to calculate the log(base 10) of a number.  Is this possible?  It appears the "Log" function in the app only does the natural log.
Is there any work around for the lack of Log10?

Martin Vigesaa

unread,
Jul 17, 2014, 4:23:26 AM7/17/14
to mitappinv...@googlegroups.com
I found a workaround that is probably obvious to math people.  Using the natural log 'ln' of x divided by the natural log of 10, the result is the log(base 10) of x.  So ln x / ln 10 = log(base 10) x.


Stephen Zipprich

unread,
Jul 17, 2014, 5:10:50 AM7/17/14
to mitappinv...@googlegroups.com
Thanks for posting the solution here...someone else may be able to learn something from it.  Think you might be able to post a screenshot of your blocks to see how you got it working?

Taifun

unread,
Jul 17, 2014, 1:39:47 PM7/17/14
to mitappinv...@googlegroups.com
btw it also helps to search the forums, see this answer https://groups.google.com/d/msg/programming-with-app-inventor/TqsyrU-_0lU/b3RQgeq4W8cJ
Taifun

Martin Vigesaa

unread,
Jul 18, 2014, 8:56:27 AM7/18/14
to mitappinv...@googlegroups.com

Here is what I used:



Scott Ferguson

unread,
Jul 18, 2014, 9:12:42 AM7/18/14
to mitappinv...@googlegroups.com
Thanks for sharing that, Martin.
I have posted it in Tips and Tricks > here <
---
Scott Ferguson
Reply all
Reply to author
Forward
0 new messages