• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • Edit (GUI)
  • Edit (Text)
  • Rename Page
  • Copy Page
  • Load Page
  • Save Page
  • Delete Page
  • Attachments
  • Check Spelling
  • Diffs
  • Info
  • Revert to this revision
  • XML
  • Render as Docbook
  • Print View
  • Raw Text
  • Delete Cache
  • Like Pages
  • Local Site Map
  • Remove Spam
  • Package Pages
  • Sync Pages
    • Diff for "Math"
    Differences between revisions 1 and 2
    Revision 1 as of 2012-10-28 20:05:59
    Size: 5696
    Editor: Inanna
    Comment:
    Revision 2 as of 2012-10-28 20:06:20
    Size: 5769
    Editor: Inanna
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 5: Line 5:
     .variable.method(arguments), example - ...
     .object.method(arguments), example - ...
     . ''variable.method(arguments), example - ... ''
     . ''object.method(arguments), example - ... ''
    Line 11: Line 11:
    ||<tablewidth="796px" tableheight="123px"#cccccc>'''Method ''' ||<#cccccc>'''Type''' ||<#cccccc>'''Description '''||||<style="text-align:center"> || ||<tablewidth="796px" tableheight="123px"#cccccc>'''Method ''' ||<#cccccc>'''Type''' ||<#cccccc>'''Description ''' ||||<style="text-align:center"> ||
    Line 31: Line 31:


    Line 32: Line 35:
    '''Usage:''' 

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''
     .

    '''Result:'''
    '''Usage:'''

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''

    .

    '''Result:'''
    Line 43: Line 48:
    '''Usage:''' 

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''
     .

    '''Result:'''
    '''Usage:'''

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''

    .

    '''Result:'''
    Line 54: Line 61:
    '''Usage:''' 

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''
     .

    '''Result:'''
    '''Usage:'''

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''

    .

    '''Result:'''
    Line 65: Line 74:
    '''Usage:''' 

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''
     .

    '''Result:'''
    '''Usage:'''

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''

    .

    '''Result:'''
    Line 76: Line 87:
    '''Usage:''' 

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''
     .

    '''Result:'''
    '''Usage:'''

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''

    .

    '''Result:'''
    Line 87: Line 100:
    '''Usage:''' 

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''
     .

    '''Result:'''
    '''Usage:'''

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''

    .

    '''Result:'''
    Line 98: Line 113:
    '''Usage:''' 

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''
     .

    '''Result:'''
    '''Usage:'''

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''

    .

    '''Result:'''
    Line 109: Line 126:
    '''Usage:''' 

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''
     .

    '''Result:'''
    '''Usage:'''

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''

    .

    '''Result:'''
    Line 120: Line 139:
    '''Usage:''' 

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''
     .

    '''Result:'''
    '''Usage:'''

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''

    .

    '''Result:'''
    Line 131: Line 152:
    '''Usage:''' 

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''
     .

    '''Result:'''
    '''Usage:'''

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''

    .

    '''Result:'''
    Line 142: Line 165:
    '''Usage:''' 

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''
     .

    '''Result:'''
    '''Usage:'''

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''

    .

    '''Result:'''
    Line 153: Line 178:
    '''Usage:''' 

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''
     .

    '''Result:'''
    '''Usage:'''

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''

    .

    '''Result:'''
    Line 164: Line 191:
    '''Usage:''' 

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''
     .

    '''Result:'''
    '''Usage:'''

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''

    .

    '''Result:'''
    Line 175: Line 204:
    '''Usage:''' 

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''
     .

    '''Result:'''
    '''Usage:'''

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''

    .

    '''Result:'''
    Line 186: Line 217:
    '''Usage:''' 

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''
     .

    '''Result:'''
    '''Usage:'''

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''

    .

    '''Result:'''
    Line 197: Line 230:
    '''Usage:''' 

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''
     .

    '''Result:'''
    '''Usage:'''

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''

    .

    '''Result:'''
    Line 208: Line 243:
    '''Usage:''' 

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''
     .

    '''Result:'''
    '''Usage:'''

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''

    .

    '''Result:'''
    Line 219: Line 256:
    '''Usage:''' 

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''
     .

    '''Result:'''
    '''Usage:'''

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    '''Example:'''

    .

    '''Result:'''

    The following functions can be used to perform arithmetic on objects and variables.

    These should be written in the following formats:

    • variable.method(arguments), example - ...

    • object.method(arguments), example - ...

    Click each method name in the table below for more details of it, with examples.

    Methods

    Method

    Type

    Description

    abs

    int

    Computes and returns an absolute value for the number specified by the parameter val.

    acos

    int

    Computes and returns the arc cosine of the number specified in the parameter val, in radians.

    asin

    int

    Computes and returns the arc sine for the number specified in the parameter val, in radians.

    atan

    int

    Computes and returns the value, in radians, of the angle whose tangent is specified in the parameter val.

    atan2

    int

    Computes and returns the angle of the point y/x in radians, when measured counterclockwise from a circle's x axis (where 0,0 represents the center of the circle).

    ceil

    int

    Returns the ceiling of the specified number or expression.

    cos

    int

    Computes and returns the cosine of the specified angle in radians.

    exp

    int

    Returns the value of the base of the natural logarithm (e), to the power of the exponent specified in the parameter x.

    floor

    int

    Returns the floor of the number or expression specified in the parameter val.

    log

    int

    Returns the natural logarithm of the parameter val.

    max

    int

    Evaluates val1 and val2 (or more values) and returns the largest value.

    min

    int

    Evaluates val1 and val2 (or more values) and returns the smallest value.

    pow

    int

    Computes and returns base to the power of pow.

    random

    int

    Returns a pseudo-random number n, where 0 <= n < 1.

    round

    int

    Rounds the value of the parameter val up or down to the nearest integer and returns the value.

    sin

    int

    Computes and returns the sine of the specified angle in radians.

    sqrt

    int

    Computes and returns the square root of the specified number.

    tan

    int

    Computes and returns the tangent of the specified angle.

    abs

    Usage:

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    Example:

    Result:

    acos

    Usage:

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    Example:

    Result:

    asin

    Usage:

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    Example:

    Result:

    atan

    Usage:

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    Example:

    Result:

    atan2

    Usage:

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    Example:

    Result:

    ceil

    Usage:

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    Example:

    Result:

    cos

    Usage:

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    Example:

    Result:

    exp

    Usage:

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    Example:

    Result:

    floor

    Usage:

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    Example:

    Result:

    log

    Usage:

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    Example:

    Result:

    max

    Usage:

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    Example:

    Result:

    min

    Usage:

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    Example:

    Result:

    pow

    Usage:

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    Example:

    Result:

    random

    Usage:

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    Example:

    Result:

    round

    Usage:

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    Example:

    Result:

    sin

    Usage:

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    Example:

    Result:

    sqrt

    Usage:

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    Example:

    Result:

    tan

    Usage:

    Returns a string comprising the characters represented by the Unicode character codes in the parameters.

    Example:

    Result:


    ScriptBasicSyntax

    Math (last edited 2015-02-13 20:59:39 by LKD70)