Previous | Index | Next |
Trigonometry methods
log10ValueOf:
Logarithm to base 10. Pass a single number or a list of numbers. If a list, results must be coerced. Errors are returned as missing value.
+ (id)log10ValueOf:(id)listOrNumber
listOrNumber = a number or list of numbers
A number or list of numbers
Version 1.0.0
use scripting additions
use framework "Foundation"
use script "BridgePlus"
load framework
set theResult to current application's SMSForder's log10ValueOf:2.71828182846
ASify from theResult
--> 0.434294481903
theResult as real
--> 0.434294481903
set theResult to current application's SMSForder's log10ValueOf:{1, 2, 10, 100, 400}
ASify from theResult
--> {0.0, 0.301029995664, 1.0, 2.0, 2.602059991328}
theResult as list
--> {0.0, 0.301029995664, 1.0, 2.0, 2.602059991328}