Specifications

CHAPTER 24 DataWindow Expression and InfoMaker Functions
Users Guide 643
Examples This expression for a computed field returns the string in code_id if the ASCII
value of the first character in code_id is A (65):
If (AscA(code_id) = 65, code_id, "Not a valid code")
This expression for a computed field checks the case of the first character of
lname and if it is lowercase, makes it uppercase:
IF (AscA(lname) > 64 AND AscA(lname) < 91, lname,
WordCap(lname))
See also CharA
WordCap
ASin
Description Calculates the arc sine of an angle.
Syntax ASin ( n )
Return value
Double. Returns the arc sine of n if it succeeds.
Examples This expression returns .999998 (rounded to six places):
ASin(.84147)
This expression returns .520311 (rounded to six places):
ASin(LogTen (Pi (1)))
This expression returns 0:
ASin(0)
See also
Sin
ACos
ATan
Pi
Argument Description
n The ratio of the lengths of two sides of a triangle for which you want
a corresponding angle (in radians). The ratio must be a value
between -1 and 1.