Revision 44089

View differences:

trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.impl/src/main/resources/org/gvsig/expressionevaluator/functions/en/ROUND.json
3 3
    "group": "Numeric",
4 4
    "template": "ROUND({{number}})",
5 5
    "args": [
6
        "value whose arc tangent is to be returned"
6
        "number - The number to be rounded"
7 7
    ],
8
    "description": "Returns the arc cosine of a value; the returned angle is in the range 0.0 through pi.",
8
    "description": "Rounds a number to a specified number of decimal places.",
9 9
    "returnType": "Double"
10 10
}
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.impl/src/main/resources/org/gvsig/expressionevaluator/functions/en/TANH.json
5 5
    "args": [
6 6
        "a - an angle, in radians."
7 7
    ],
8
    "description": "Returns the arc cosine of a value; the returned angle is in the range 0.0 through pi.",
8
    "description": "Return the tangent of a number.",
9 9
    "returnType": "Double"
10 10
}
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.impl/src/main/resources/org/gvsig/expressionevaluator/functions/en/COSH.json
3 3
    "group": "Numeric",
4 4
    "template": "COSH({{a}})",
5 5
    "args": [
6
        "a - The number whose hyperbolic cosine is to be returned."
6
        "a - an angle, in radians"
7 7
    ],
8 8
    "description": [
9 9
      "Returns the hyperbolic cosine of a double value. The hyperbolic cosine of x is defined to be (ex + e-x)/2 where e is Euler's number.",
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.impl/src/main/resources/org/gvsig/expressionevaluator/functions/en/SIGN.json
1 1
{
2 2
    "name": "SIGN",
3 3
    "group": "Numeric",
4
    "template": "SIGN({{a}})",
4
    "template": "SIGN({{number}})",
5 5
    "args": [
6
        "value whose arc tangent is to be returned"
6
        "number - The number to return the sign for"
7 7
    ],
8
    "description": "Returns the arc cosine of a value; the returned angle is in the range 0.0 through pi.",
8
    "description": ["Returns the sign of a number.",
9
    "This function will return one of the following:",
10
    "If number > 0, it returns 1",
11
    "If number = 0, it returns 0",
12
    "If number < 0, it returns -1"],
9 13
    "returnType": "Double"
10 14
}
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.impl/src/main/resources/org/gvsig/expressionevaluator/functions/en/SINH.json
5 5
    "args": [
6 6
        "a - an angle, in radians."
7 7
    ],
8
    "description": "Returns the arc cosine of a value; the returned angle is in the range 0.0 through pi.",
8
    "description": "Return the hyperbolic sine of a number.",
9 9
    "returnType": "Double"
10 10
}
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.impl/src/main/resources/org/gvsig/expressionevaluator/functions/en/LOCATE.json
7 7
        "string - The string that will be searched",
8 8
        "start - The starting position for the search. Position 1 is default"
9 9
    ],
10
    "description": "Returns the location of a search string in a string. If a start position is used, the characters before it are ignored. If position is negative, the rightmost location is returned. 0 is returned if the search string is not found.
11

  
12
Example:
13

  
14
LOCATE('.', NAME)",
10
    "description": ["Returns the location of a search string in a string. If a start position is used, the characters before it are ignored.",
11
      " If position is negative, the rightmost location is returned. 0 is returned if the search string is not found.",
12
      "Example: LOCATE('.', NAME)"],
15 13
    "returnType": "Double"
16 14
}
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.impl/src/main/resources/org/gvsig/expressionevaluator/functions/en/LPAD.json
7 7
        "len - The length of the string after it has been left-padded",
8 8
        "padstr - The string to left-pad to string"
9 9
    ],
10
    "description": "Left pad the string to the specified length. If the length is shorter than the string, it will be truncated at the end. If the padding string is not set, spaces will be used. Example: LPAD(AMOUNT, 10, '*') ",
10
    "description": ["Left pad the string to the specified length.",
11
      "If the length is shorter than the string, it will be truncated at the end.",
12
      "If the padding string is not set, spaces will be used.",
13
      "Example: LPAD(AMOUNT, 10, '*') "],
11 14
    "returnType": "String"
12 15
}
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.impl/src/main/resources/org/gvsig/expressionevaluator/functions/en/LOG.json
1 1
{
2 2
    "name": "LOG",
3 3
    "group": "Numeric",
4
    "template": "LOG({{a}})",
4
    "template": "LOG({{number}})",
5 5
    "args": [
6
        "value whose arc tangent is to be returned"
6
        "number - A number. Must be greater than 0"
7 7
    ],
8
    "description": "Returns the arc cosine of a value; the returned angle is in the range 0.0 through pi.",
8
    "description": "Returns the natural logarithm of a specified number, or the logarithm of the number to the specified base.",
9 9
    "returnType": "Double"
10 10
}
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.impl/src/main/resources/org/gvsig/expressionevaluator/functions/en/RADIANS.json
1 1
{
2 2
    "name": "RADIANS",
3 3
    "group": "Numeric",
4
    "template": "RADIANS({{a}})",
4
    "template": "RADIANS({{number}})",
5 5
    "args": [
6
        "value whose arc tangent is to be returned"
6
        "number - A number in degrees"
7 7
    ],
8
    "description": "Returns the arc cosine of a value; the returned angle is in the range 0.0 through pi.",
8
    "description": "Converts a degree value into radians.",
9 9
    "returnType": "Double"
10 10
}
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.impl/src/main/resources/org/gvsig/expressionevaluator/functions/en/ATAN.json
5 5
    "args": [
6 6
        "a - an angle, in radians."
7 7
    ],
8
    "description": ["Returns the arc tangent of a number."],
8
    "description": ["Returns the arc tangent of a value; the returned angle is in the range -pi/2 through pi/2. Special cases:",
9
            "- If the argument is NaN, then the result is NaN.",
10
            "- If the argument is zero, then the result is a zero with the same sign as the argument.",
11
            "The computed result must be within 1 ulp of the exact result. Results must be semi-monotonic.",
12
            "ATAN({{a}})"],
9 13
    "returnType": "Double"
10 14
}
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.impl/src/main/resources/org/gvsig/expressionevaluator/functions/en/ACOS.json
3 3
    "group": "Numeric",
4 4
    "template": "ACOS({{a}})",
5 5
    "args": [
6
        "value whose arc tangent is to be returned"
6
        "a - an angle, in radians"
7 7
    ],
8
    "description": "Returns the arc cosine of a value; the returned angle is in the range 0.0 through pi.",
8
    "description": ["The ACOS() function returns the arc cosine of a number.",
9
      "The specified number must be between -1 to 1, otherwise this function returns NULL."],
9 10
    "returnType": "Double"
10 11
}
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.impl/src/main/resources/org/gvsig/expressionevaluator/functions/en/SQRT.json
3 3
    "group": "Numeric",
4 4
    "template": "SQRT({{number}})",
5 5
    "args": [
6
        "value whose arc tangent is to be returned"
6
        "number - A number to calculate the square root of. Must be greater than 0"
7 7
    ],
8
    "description": "Returns the arc cosine of a value; the returned angle is in the range 0.0 through pi.",
8
    "description": "Return the square root of a number.",
9 9
    "returnType": "Double"
10 10
}
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.impl/src/main/resources/org/gvsig/expressionevaluator/functions/en/EXP.json
1 1
{
2 2
    "name": "EXP",
3 3
    "group": "Numeric",
4
    "template": "EXP({{a}})",
4
    "template": "EXP({{number}})",
5 5
    "args": [
6
        "value whose arc tangent is to be returned"
6
        "number - The power number"
7 7
    ],
8
    "description": "Returns the arc cosine of a value; the returned angle is in the range 0.0 through pi.",
8
    "description": ["returns e raised to the power of the specified number.",
9
    "The constant e (2.718281...), is the base of natural logarithms."],
9 10
    "returnType": "Double"
10 11
}
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.impl/src/main/resources/org/gvsig/expressionevaluator/functions/en/DEGREES.json
3 3
    "group": "Numeric",
4 4
    "template": "DEGREES({{a}})",
5 5
    "args": [
6
        "value whose arc tangent is to be returned"
6
        "a - value in radians"
7 7
    ],
8
    "description": "Returns the arc cosine of a value; the returned angle is in the range 0.0 through pi.",
8
    "description": "Converts a value in radians to degrees.",
9 9
    "returnType": "Double"
10 10
}
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.impl/src/main/resources/org/gvsig/expressionevaluator/functions/en/LENGHT.json
5 5
    "args": [
6 6
        "string - string to return the length for"
7 7
    ],
8
    "description": "Returns the number of characters in a string. This method returns a long. For BLOB, CLOB, BYTES and JAVA_OBJECT, the precision is used.
9

  
10
Example:
11

  
12
LENGTH(NAME)",
8
    "description": ["Returns the number of characters in a string. This method returns a long. For BLOB, CLOB, BYTES and JAVA_OBJECT, the precision is used.",
9
    "Example: LENGTH(NAME)"],
13 10
    "returnType": "Integer"
14 11
}
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.impl/src/main/resources/org/gvsig/expressionevaluator/functions/en/FLOOR.json
1 1
{
2 2
    "name": "FLOOR",
3 3
    "group": "Numeric",
4
    "template": "FLOOR({{a}})",
4
    "template": "FLOOR({{number}})",
5 5
    "args": [
6
        "value whose arc tangent is to be returned"
6
        "number - A numeric value"
7 7
    ],
8
    "description": "Returns the arc cosine of a value; the returned angle is in the range 0.0 through pi.",
8
    "description": "Returns the largest integer value that is smaller than or equal to a number.",
9 9
    "returnType": "Double"
10 10
}
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.impl/src/main/resources/org/gvsig/expressionevaluator/functions/en/LOG10.json
1 1
{
2 2
    "name": "LOG10",
3 3
    "group": "Numeric",
4
    "template": "LOG10({{a}})",
4
    "template": "LOG10({{number}})",
5 5
    "args": [
6
        "value whose arc tangent is to be returned"
6
        "number - A number greater than 0"
7 7
    ],
8
    "description": "Returns the arc cosine of a value; the returned angle is in the range 0.0 through pi.",
8
    "description": "Returns the natural logarithm of a number to base-10.",
9 9
    "returnType": "Double"
10 10
}
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.impl/src/main/resources/org/gvsig/expressionevaluator/functions/en/RAND.json
1 1
{
2 2
    "name": "RAND",
3 3
    "group": "Numeric",
4
    "template": "RAND({{number}})",
4
    "template": "RAND({{seed}})",
5 5
    "args": [
6
        "value whose arc tangent is to be returned"
6
        "seed - Optional. ",
7
        "* If seed is specified, it returns a repeatable sequence of random numbers.",
8
        "* If no seed is specified, it returns a completely random number"
7 9
    ],
8
    "description": "Returns the arc cosine of a value; the returned angle is in the range 0.0 through pi.",
10
    "description": "Returns a random number between 0 (inclusive) and 1 (exclusive).",
9 11
    "returnType": "Double"
10 12
}

Also available in: Unified diff