Previous Index Next

BridgePlus.framework, SMSForder Class Methods

Category

Trigonometry methods

Method

log10ValueOf:

Summary

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.

Signature

+ (id)log10ValueOf:(id)listOrNumber

Parameters

listOrNumber = a number or list of numbers

Result

A number or list of numbers

Availability

Version 1.0.0

Notes

 

Sample

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}


Click here to open script in a script editor