abs(-123.45)
Returns the absolute value of a double value. If the argument is not negative, the argument is returned. If the argument is negative, the negation of the argument is returned. Special cases:
acos(0.25)
Returns the arc cosine of a value; the returned angle is in the range 0.0 through pi. Special case:
acotan(0.25)
PI / 2 - ArcTangent
alpha(0.25)
Formats a number into a alphanumeric string.
asin(0.25)
Returns the arc sine of a value; the returned angle is in the range -pi/2 through pi/2. Special cases:
atan(0.25)
Returns the arc tangent of a value; the returned angle is in the range -pi/2 through pi/2. Special cases:
BandedRate("myTable", "09/07/2011", 125,256.36)
/*
* Only the last key in the table is used for banded
*/
Hashtable<Double, Double> rateTable =
resolveRate(
tableName,
ratesgetEqu().getBaseDate(),
baseAmount.doubleValue())
Rate("myTable", "09/07/2011")
double rate =
model.resolveRate(
tableName,
getEqu().getBaseDate(),
keys[0],
keys[1],
keys[2],
keys[3],
keys[4]);
if(myVar='C', cos(myAngle), sin(myAngle))
Returns the first value if the condition is true, otherwise it returns the second value.
max(1, 2, 3, 4, 5)
Each of the multiple items are compared with each other.
Returns the greater of two double values. That is, the result is the argument closer to positive infinity. If the arguments have the same value, the result is that same value. If either value is NaN, then the result is NaN. Unlike the numerical comparison operators, this method considers negative zero to be strictly smaller than positive zero. If one argument is positive zero and the other negative zero, the result is positive zero.
round(1.49)
Returns the closest long to the argument. The result is rounded to an integer by adding 1/2, taking the floor of the result, and casting the result to type long. In other words, the result is equal to the value of the expression:
(long)Math.floor(a + 0.5d)
Special cases:
sin(75)
Returns the trigonometric sine of an angle. Special cases:
tan(66)
Returns the trigonometric tangent of an angle. Special cases:
TieredRate("myTable", "09/07/2011", 125,256.36)
/*
* Only the last key in the table is used for tiered
*/
Hashtable<Double, Double> rateTable =
model.resolveRate(
tableName,
getEqu().getBaseDate(),
baseAmount.doubleValue());