Previous Index Next

BridgePlus.framework, SMSForder Class Methods

Category

Trigonometry methods

Method

asinValueOf:

Summary

Pass a single number or a list of numbers. If a list, results must be coerced. Angles are in radians, and errors are returned as missing value.

Signature

+ (id)asinValueOf:(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 asinValueOf:(45 / 180 * pi)

ASify from theResult

--> 0.903339110767

theResult as real

--> 0.903339110767

set theResult to current application's SMSForder's asinValueOf:{(30 / 180 * pi), (60 / 180 * pi), (90 / 180 * pi)}

ASify from theResult

--> {0.551069583099, missing value, missing value}

theResult as list

--> {0.551069583099, missing value, missing value}


Click here to open script in a script editor