Written by John Greiner, www.themacroexpert.com
This macro is a relatively efficient way of calculating log base 10 and ln.
Download umlogandlncalculator.mex the macro file and save it to your hard drive. Open the macro file or import the macros into your existing macro file by clicking File, Import, Import Macros.
This macro file contains two macros: ‘Log Base 10 and ln Calculator’ performs the calculations. ‘Test Log Base 10 Calculator’ demonstrates how to use the Macro Run command to add Log and Ln functionality to your macro.
See the Notes tab of the ‘Log Base 10 and ln Calculator’ macro for a description of the math involved.
John said “The only thing I did not figure out how to handle completely gracefully is what happens when the number to get the log for is less than or equal to 0.0.”
– Macro Express Pro
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |