Previous Index Next

BridgePlus.framework, SMSForder Class Methods

Category

Trigonometry methods

Method

logValueOf:

Summary

Natural logarithm. Pass a single number or a list of numbers. If a list, results must be coerced. Errors are returned as missing value.

Signature

+ (id)logValueOf:(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 logValueOf:2.71828182846

ASify from theResult

--> 1.0

theResult as real

--> 1.0

set theResult to current application's SMSForder's logValueOf:{1, 2, 10, 100}

ASify from theResult

--> {0.0, 0.69314718056, 2.302585092994, 4.605170185988}

theResult as list

--> {0.0, 0.69314718056, 2.302585092994, 4.605170185988}


Click here to open script in a script editor