| Package | Description |
|---|---|
| io.starter.formats.XLS | |
| io.starter.formats.XLS.charts | |
| io.starter.formats.XLS.formulas |
| Modifier and Type | Method and Description |
|---|---|
Ptg |
ReferenceTracker.addCellRange(Ptg ptgRef)
adds a cellrange Ptg (Area, Area3d etc.) to be tracked
These records are stored in a row based lookup,
this row map is looked up off actual row number, ie row 1 is get(1).
|
Ptg[] |
Formula.getCellRangePtgs()
Returns an array of ptgs that represent any BiffRec ranges in the formula.
|
Ptg[] |
Name.getCellRangePtgs()
Returns an array of ptgs that represent any BiffRec ranges in the formula.
|
static Ptg[] |
ExpressionParser.getCellRangePtgs(Stack expression)
getCellRangePtgs handles locating which cells are refereced in an expression stack.
|
Ptg |
Name.getPtga() |
static Ptg |
XLSRecordFactory.getPtgRecord(String name) |
| Modifier and Type | Method and Description |
|---|---|
static List<Ptg> |
ExpressionParser.getPtgsByLocation(String loc,
Stack expression) |
| Modifier and Type | Method and Description |
|---|---|
Ptg |
ReferenceTracker.addCellRange(Ptg ptgRef)
adds a cellrange Ptg (Area, Area3d etc.) to be tracked
These records are stored in a row based lookup,
this row map is looked up off actual row number, ie row 1 is get(1).
|
boolean |
Cf.evaluate(Ptg refcell)
pass in the referenced cell and attempt to
create a valid formula for this thing and
calculate whether the criteria passes
returns true or false
|
static int |
ExpressionParser.getExpressionLocByPtg(Ptg ptg,
Stack expression)
returns the position in the expression stack for the desired ptg
|
void |
ReferenceTracker.removeCellRange(Ptg cr)
removes a cellrange Ptg (Area, Area3d etc.) to be tracked
|
void |
Formula.replacePtg(Ptg thisptg,
Ptg ptgErr)
Replaces a ptg in the active expression.
|
static void |
ReferenceTracker.updateAddressPerPolicy(Ptg thisptg,
String newaddr)
Update the address in a Ptg using the policy defined for the Ptg in an RDF if any.
|
| Modifier and Type | Method and Description |
|---|---|
Ptg[] |
Ai.getCellRangePtgs() |
Ptg[] |
ChartSeries.getCellRangePtgs()
return an array of ALL cell references of the chart
|
| Modifier and Type | Method and Description |
|---|---|
List<Ptg> |
Ai.getPtgsByLocation(String loc) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Ai.changeAiLocation(Ptg p,
String newLoc)
simplified version of changeAiLocation which locates current Ptg and updates expression
NOTE: newLoc is expected to be a valid reference
|
| Modifier and Type | Class and Description |
|---|---|
class |
GenericPtg |
class |
PtgAdd |
class |
PtgArea
ptgArea is a reference to an area (rectangle) of cells.
|
class |
PtgArea3d
ptgArea3d is a reference to an area (rectangle) of cells.
|
class |
PtgAreaErr3d
An Erroneous BiffRec range spanning 3rd dimension of WorkSheets.
|
class |
PtgAreaN
ptgArea is a reference to an area (rectangle) of cells.
|
class |
PtgArray |
class |
PtgAtr
Displays "special" attributes like spaces and "optimized SUMs"
Offset Size Contents
0 1 19H
1 1 Attribute type flags:
01H = This is a tAttrVolatile token (volatile function)
02H = This is a tAttrIf token (IF function control)
04H = This is a tAttrChoose token (CHOOSE function control)
08H = This is a tAttrSkip token (skip part of token array)
10H = This is a tAttrSum token (SUM function with one parameter)
20H = This is a tAttrAssign token (assignment-style formula in a macro sheet)
40H = This is a tAttrSpace token (spaces and carriage returns, BIFF3-BIFF8)
41H = This is a tAttrSpaceVolatile token (BIFF3-BIFF8, see below)
2 var.
|
class |
PtgBool |
class |
PtgConcat |
class |
PtgDiv |
class |
PtgEndSheet |
class |
PtgEQ |
class |
PtgErr |
class |
PtgExp
ptgExp indicates an Array Formula or Shared Formula
When ptgExp occurs in a formula, it's the only token in the formula.
|
class |
PtgFunc
PtgFunc is a fuction operator that refers to the header file in order to
use the correct function.
|
class |
PtgFuncVar
PtgFunc is a fuction operator that refers to the header file in order to
use the correct function.
|
class |
PtgGE |
class |
PtgGT |
class |
PtgInt |
class |
PtgIsect |
class |
PtgLE |
class |
PtgLT |
class |
PtgMemArea
PtgMemArea is an optimization of referenced areas.
|
class |
PtgMemAreaA
PtgMemArea is an optimization of referenced areas.
|
class |
PtgMemAreaN |
class |
PtgMemAreaNV |
class |
PtgMemErr |
class |
PtgMemFunc
PtgMemFunc refers to a reference subexpression that doesn't evaluate
to a constant reference.
|
class |
PtgMissArg |
class |
PtgMlt |
class |
PtgMystery |
class |
PtgName
This PTG stores an index to a name.
|
class |
PtgNameX |
class |
PtgNE |
class |
PtgNumber |
class |
PtgParen |
class |
PtgPercent |
class |
PtgPower |
class |
PtgRange |
class |
PtgRef
ptgRef is a reference to a single cell.
|
class |
PtgRef3d
A BiffRec range spanning 3rd dimension of WorkSheets.
|
class |
PtgRefErr |
class |
PtgRefErr3d |
class |
PtgRefN
PtgRefN is a modified PtgRef that is for shared formulas.
|
class |
PtgStr
PTG that stores a unicode string
Offset Name Size Contents
------------------------------------
0 cch 1 Length of the string
1 rgch var The string
I think the string includes a grbit itself, see UnicodeString.
|
class |
PtgSub
Ptg that indicates substitution (ie minus)
|
class |
PtgUMinus |
class |
PtgUnion |
class |
PtgUPlus |
| Modifier and Type | Method and Description |
|---|---|
protected static Ptg |
MathFunctionCalculator.calcAbs(Ptg[] operands)
ABS
Returns the absolute value of a number
|
protected static Ptg |
FinancialCalculator.calcAccrint(Ptg[] operands)
ACCRINT - Returns the accrued interest for a security that pays periodic
interest Analysis Pak function Issue is the security's issue date.
|
protected static Ptg |
FinancialCalculator.calcAccrintm(Ptg[] operands)
ACCRINTM Returns the accrued interest for a security that pays interest
at maturity Analysis Pak function
Issue is the security's issue date.
|
protected static Ptg |
MathFunctionCalculator.calcAcos(Ptg[] operands)
ACOS
Returns the arccosine of a number
|
protected static Ptg |
MathFunctionCalculator.calcAcosh(Ptg[] operands)
ACOSH
Returns the inverse hyperbolic cosine of a number
|
protected static Ptg |
LookupReferenceCalculator.calcAddress(Ptg[] operands)
ADDRESS
Creates a cell address as text, given specified row and column numbers.
|
protected static Ptg |
FinancialCalculator.calcAmordegrc(Ptg[] operands)
AMORDEGRC Returns the depreciation for each accounting period
|
protected static Ptg |
FinancialCalculator.calcAmorlinc(Ptg[] operands)
AMORLINC Returns the depreciation for each accounting period
|
protected static Ptg |
LogicalCalculator.calcAnd(Ptg[] operands)
AND
Returns TRUE if all its arguments are TRUE;
returns FALSE if one or more arguments is FALSE.
|
protected static Ptg |
LookupReferenceCalculator.calcAreas(Ptg[] operands)
AREAS
Returns the number of areas in a reference.
|
protected static Ptg |
TextCalculator.calcAsc(Ptg[] operands)
ASC function
For Double-byte character set (DBCS) languages, changes full-width (double-byte) characters to half-width (single-byte) characters.
|
protected static Ptg |
MathFunctionCalculator.calcAsin(Ptg[] operands)
ASIN
Returns the arcsine of a number
|
protected static Ptg |
MathFunctionCalculator.calcAsinh(Ptg[] operands)
ASINH
Returns the inverse hyperbolic sine of a number
|
protected static Ptg |
MathFunctionCalculator.calcAtan(Ptg[] operands)
ATAN
Returns the arctangent of a number
|
protected static Ptg |
MathFunctionCalculator.calcAtan2(Ptg[] operands)
ATAN2
Returns the arctangent from x- and y- coordinates
|
protected static Ptg |
MathFunctionCalculator.calcAtanh(Ptg[] operands)
ATANH
Returns the inverse hyperbolic tangent of a number
|
protected static Ptg |
StatisticalCalculator.calcAveDev(Ptg[] operands)
AVEDEV(number1,number2, ...)
Number1, number2, ...
|
protected static Ptg |
StatisticalCalculator.calcAverage(Ptg[] operands)
AVERAGE
Returns the average (arithmetic mean) of the arguments.
|
protected static Ptg |
StatisticalCalculator.calcAverageA(Ptg[] operands)
AVERAGEA
Returns the average of its arguments, including numbers, text,
and logical values
The arguments must be numbers, names, arrays, or references.
|
protected static Ptg |
StatisticalCalculator.calcAverageIf(Ptg[] operands)
AVERAGEIF function
Returns the average (arithmetic mean) of all the cells in a range that meet a given criteria.
|
protected static Ptg |
StatisticalCalculator.calcAverageIfS(Ptg[] operands)
AVERAGEIFS
Returns the average (arithmetic mean) of all cells that meet multiple criteria.
|
protected static Ptg |
EngineeringCalculator.calcBin2Dec(Ptg[] operands)
BIN2DEC
Converts a binary number to decimal
|
protected static Ptg |
EngineeringCalculator.calcBin2Hex(Ptg[] operands)
BIN2HEX
Converts a binary number to hexadecimal
|
protected static Ptg |
EngineeringCalculator.calcBin2Oct(Ptg[] operands)
BIN2OCT
Converts a binary number to octal
|
protected static Ptg |
MathFunctionCalculator.calcCeiling(Ptg[] operands)
CEILING
Rounds a number to the nearest multiple of significance;
This takes 2 values, first the number to round, next the value of signifigance.
|
protected static Ptg |
InformationCalculator.calcCell(Ptg[] operands)
CELL
Returns information about the formatting, location, or contents of a cell
The CELL function returns information about the formatting, location, or contents of a cell.
|
protected static Ptg |
TextCalculator.calcChar(Ptg[] operands)
CHAR
Returns the character specified by the code number
|
protected static Ptg |
LookupReferenceCalculator.calcChoose(Ptg[] operands)
CHOOSE
Chooses a value from a list of values
Note, this function does not support one specific use-case.
|
protected static Ptg |
TextCalculator.calcClean(Ptg[] operands)
CLEAN
Removes all nonprintable characters from text.
|
protected static Ptg |
TextCalculator.calcCode(Ptg[] operands)
CODE
Returns a numeric code for the first character in a text string
|
protected static Ptg |
LookupReferenceCalculator.calcColumn(Ptg[] operands)
COLUMN
Returns the column number of a reference
|
protected static Ptg |
LookupReferenceCalculator.calcColumns(Ptg[] operands)
COLUMNS
Returns the number of columns in an array reference or array formula
|
protected static Ptg |
MathFunctionCalculator.calcCombin(Ptg[] operands)
COMBIN
Returns the number of combinations for a given number of objects
|
protected static Ptg |
EngineeringCalculator.calcComplex(Ptg[] operands)
COMPLEX
Converts real and imaginary coefficients into a complex number
|
protected static Ptg |
TextCalculator.calcConcatenate(Ptg[] operands)
CONCATENATE
Joins several text items into one text item
|
protected static Ptg |
EngineeringCalculator.calcConvert(Ptg[] operands) |
protected static Ptg |
StatisticalCalculator.calcCorrel(Ptg[] operands)
CORREL
Returns the correlation coefficient between two data sets
|
protected static Ptg |
MathFunctionCalculator.calcCos(Ptg[] operands)
COS
Returns the cosine of a number
|
protected static Ptg |
MathFunctionCalculator.calcCosh(Ptg[] operands)
COSH
Returns the hyperbolic cosine of a number
|
protected static Ptg |
StatisticalCalculator.calcCount(Ptg[] operands)
Counts the number of cells that contain numbers
and or dates.
|
protected static Ptg |
StatisticalCalculator.calcCountA(Ptg[] operands)
COUNTA
Counts the number of non-blank cells within a range
|
protected static Ptg |
StatisticalCalculator.calcCountBlank(Ptg[] operands)
COUNTBLANK
Counts the number of blank cells within a range
|
protected static Ptg |
StatisticalCalculator.calcCountif(Ptg[] operands)
COUNTIF
Counts the number of non-blank cells within a range which meet the given criteria
BRUTAL!!
|
protected static Ptg |
StatisticalCalculator.calcCountIfS(Ptg[] operands)
COUNTIFS
criteria_range1 Required.
|
protected static Ptg |
FinancialCalculator.calcCoupDayBS(Ptg[] operands)
COUPDAYBS --
Returns the number of days from the beginning of the coupon period to the
settlement date Settlement is the security's settlement date.
|
protected static Ptg |
FinancialCalculator.calcCoupDays(Ptg[] operands)
COUPDAYS Returns the number of days in the coupon period that contains
the settlement date Settlement is the security's settlement date.
|
protected static Ptg |
FinancialCalculator.calcCoupDaysNC(Ptg[] operands)
COUPDAYSNC - Returns the number of days from the settlement date to the
next coupon date
Settlement is the security's settlement date.
|
protected static Ptg |
FinancialCalculator.calcCoupNCD(Ptg[] operands)
COUPNCD Returns the next coupon date after the settlement date Returns a
number that represents the next coupon date after the settlement date.
|
protected static Ptg |
FinancialCalculator.calcCoupNum(Ptg[] operands)
COUPNUM Returns the number of coupons payable between the settlement date
and maturity date Settlement is the security's settlement date.
|
protected static Ptg |
FinancialCalculator.calcCoupPCD(Ptg[] operands)
COUPPCD Returns the previous coupon date before the settlement date
|
protected static Ptg |
StatisticalCalculator.calcCovar(Ptg[] operands)
COVAR
Returns covariance, the average of the products of paired deviations
|
protected static Ptg |
FinancialCalculator.calcCumIPmt(Ptg[] operands)
CUMIPMT Returns the cumulative interest paid between two periods
CUMIPMT(rate,nper,pv,start_period,end_period,type) All parameters are
require Rate is the interest rate.
|
protected static Ptg |
FinancialCalculator.calcCumPrinc(Ptg[] operands)
CUMPRINC Returns the cumulative principal paid on a loan between
start_period and end_period.
|
protected static Ptg |
DateTimeCalculator.calcDate(Ptg[] operands)
DATE
|
protected static Ptg |
DateTimeCalculator.calcDateValue(Ptg[] operands)
DATEVALUE
Returns the serial number of the date represented by date_text.
|
protected static Ptg |
DatabaseCalculator.calcDAverage(Ptg[] operands)
DAVERAGE Returns the average of selected database entries
|
protected static Ptg |
DateTimeCalculator.calcDay(Ptg[] operands)
DAY
Return the day of the month
|
protected static Ptg |
DateTimeCalculator.calcDays360(Ptg[] operands)
DAYS360
Calculate the difference between 2 dates based on a 360
day year, 12 mos, 30days each.
|
protected static Ptg |
FinancialCalculator.calcDB(Ptg[] operands)
DB Returns the depreciation of an asset for a specified period using the
fixed-declining balance method
DB(cost,salvage,life,period,month)
Cost is the initial cost of the asset.
|
protected static Ptg |
DatabaseCalculator.calcDCount(Ptg[] operands)
DCOUNT Counts the cells that contain numbers in a database
|
protected static Ptg |
DatabaseCalculator.calcDCountA(Ptg[] operands)
DCOUNTA Counts nonblank cells in a database
|
protected static Ptg |
FinancialCalculator.calcDDB(Ptg[] operands)
DDB Returns the depreciation of an asset for a spcified period using the
double-declining balance method or some other method you specify
DDB(cost,salvage,life,period,factor)
Cost is the initial cost of the asset.
|
protected static Ptg |
EngineeringCalculator.calcDec2Bin(Ptg[] operands)
DEC2BIN
Converts a decimal number to binary
|
protected static Ptg |
EngineeringCalculator.calcDec2Hex(Ptg[] operands)
DEC2HEX
Converts a decimal number to hexadecimal
|
protected static Ptg |
EngineeringCalculator.calcDec2Oct(Ptg[] operands)
DEC2OCT
Converts a decimal number to octal
|
protected static Ptg |
MathFunctionCalculator.calcDegrees(Ptg[] operands)
DEGREES
Converts radians to degrees
|
protected static Ptg |
EngineeringCalculator.calcDelta(Ptg[] operands)
DELTA
Tests whether two values are equal
|
protected static Ptg |
DatabaseCalculator.calcDGet(Ptg[] operands)
DGET Extracts from a database a single record that matches the specified criteria
|
protected static Ptg |
FinancialCalculator.calcDISC(Ptg[] operands)
DISC Returns the discount rate for a security
Settlement is the security's settlement date.
|
protected static Ptg |
DatabaseCalculator.calcDMax(Ptg[] operands)
DMAX Returns the maximum value from selected database entries
|
protected static Ptg |
DatabaseCalculator.calcDMin(Ptg[] operands)
DMIN Returns the minimum value from selected database entries
|
protected static Ptg |
TextCalculator.calcDollar(Ptg[] operands)
DOLLAR
Converts a number to text, using currency format.
|
protected static Ptg |
FinancialCalculator.calcDollarDE(Ptg[] operands)
DOLLARDE Converts a dollar price, expressed as a fraction, into a dollar
price, expressed as a decimal number Fractional_dollar is a number
expressed as a fraction.
|
protected static Ptg |
FinancialCalculator.calcDollarFR(Ptg[] operands)
DOLLARFR Converts a dollar price, expressed as a decimal number, into a
dollar price, expressed as a fraction Decimal_dollar is a decimal number.
|
protected static Ptg |
DatabaseCalculator.calcDProduct(Ptg[] operands)
DPRODUCT Multiplies the values in a particular field of records that match the criteria in a database
|
protected static Ptg |
DatabaseCalculator.calcDStdDev(Ptg[] operands)
DSTDEV Estimates the standard deviation based on a sample of selected database entries
|
protected static Ptg |
DatabaseCalculator.calcDStdDevP(Ptg[] operands)
DSTDEVP Calculates the standard deviation based on the entire population of selected database entries
|
protected static Ptg |
DatabaseCalculator.calcDSum(Ptg[] operands)
DSUM Adds the numbers in the field column of records in the database that match the criteria
|
protected static Ptg |
FinancialCalculator.calcDURATION(Ptg[] operands)
DURATION Returns the annual duration of a security with periodic interest
payments
DURATION(settlement,maturity,coupon,yld,frequency,basis)
Settlement is the security's settlement date.
|
protected static Ptg |
DatabaseCalculator.calcDVar(Ptg[] operands)
DVAR Estimates variance based on a sample from selected database entries
|
protected static Ptg |
DatabaseCalculator.calcDVarP(Ptg[] operands) |
protected static Ptg |
DateTimeCalculator.calcEdate(Ptg[] operands)
EDATE
Returns the serial number that represents the date that is the indicated number of months
before or after a specified date (the start_date).
|
protected static Ptg |
FinancialCalculator.calcEffect(Ptg[] operands)
EFFECT Returns the effective annual interest rate Nominal_rate is the
nominal interest rate.
|
protected static Ptg |
DateTimeCalculator.calcEOMonth(Ptg[] operands)
EOMONTH
Returns the serial number for the last day of the month that is the indicated number of months
before or after start_date.
|
protected static Ptg |
EngineeringCalculator.calcErf(Ptg[] operands)
ERF
Returns the error function integrated between lower_limit and upper_limit.
|
protected static Ptg |
InformationCalculator.calcErrorType(Ptg[] operands)
ERROR.TYPE
Returns a number corresponding to an error type
If error_val is
ERROR.TYPE returns
#NULL! 1
#DIV/0! 2
#VALUE! 3
#REF! 4
#NAME? 5
#NUM! 6
#N/A 7
Anything else #N/A
|
protected static Ptg |
MathFunctionCalculator.calcEven(Ptg[] operands)
EVEN
Rounds a number up to the nearest even integer
|
protected static Ptg |
TextCalculator.calcExact(Ptg[] operands)
EXACT
Checks to see if two text values are identical
|
protected static Ptg |
MathFunctionCalculator.calcExp(Ptg[] operands)
EXP
Returns e raised to the power of number.
|
protected static Ptg |
MathFunctionCalculator.calcFact(Ptg[] operands)
FACT
Returns the factorial of a number
|
protected static Ptg |
MathFunctionCalculator.calcFactDouble(Ptg[] operands)
FACTDOUBLE
Returns the double factorial of a number
Example
!!6 = 6*4*2
!!7 = 7*5*3*1;
|
protected static Ptg |
LogicalCalculator.calcFalse(Ptg[] operands)
Returns the logical function False
|
protected static Ptg |
TextCalculator.calcFind(Ptg[] operands)
FIND
Finds one text value within another (case-sensitive)
|
protected static Ptg |
TextCalculator.calcFindB(Ptg[] operands)
FINDB counts each double-byte character as 2 when you have enabled the editing of a language that supports DBCS and then set it as the default language.
|
protected static Ptg |
TextCalculator.calcFixed(Ptg[] operands)
FIXED
Formats a number as text with a fixed number of decimals
|
protected static Ptg |
MathFunctionCalculator.calcFloor(Ptg[] operands)
FLOOR
Rounds a number down, toward zero.
|
protected static Ptg |
StatisticalCalculator.calcForecast(Ptg[] operands)
FORECAST
Returns a value along a linear trend
|
protected static Ptg |
StatisticalCalculator.calcFrequency(Ptg[] operands)
FREQUENCY
Returns a frequency distribution as a vertical array
|
protected static Ptg |
FinancialCalculator.calcFV(Ptg[] operands)
FV Returns the future value of an investment FV(rate,nper,pmt,pv,type)
Rate is the interest rate per period.
|
protected static Ptg |
FinancialCalculator.calcFVSCHEDULE(Ptg[] operands)
FVSCHEDULE Returns the future value of an initial principal after
applying a series of compound interest rates
|
protected static Ptg |
MathFunctionCalculator.calcGCD(Ptg[] operands)
GCD
Returns the greatest common divisor
TODO: Finish!
|
protected static Ptg |
EngineeringCalculator.calcGEStep(Ptg[] operands)
GESTEP
Tests whether a number is greater than a threshold value
|
protected static Ptg |
EngineeringCalculator.calcHex2Bin(Ptg[] operands)
HEX2BIN
Converts a hexadecimal number to binary
|
protected static Ptg |
EngineeringCalculator.calcHex2Dec(Ptg[] operands)
HEX2DEC
Converts a hexadecimal number to decimal
|
protected static Ptg |
EngineeringCalculator.calcHex2Oct(Ptg[] operands)
HEX2OCT
Converts a hexadecimal number to octal
|
protected static Ptg |
LookupReferenceCalculator.calcHlookup(Ptg[] operands)
HLOOKUP: Looks in the top row of an array and returns the value of the
indicated cell.
|
protected static Ptg |
DateTimeCalculator.calcHour(Ptg[] operands)
HOUR
Converts a serial number to an hour
|
protected static Ptg |
LookupReferenceCalculator.calcHyperlink(Ptg[] operands)
HYPERLINK
Creates a shortcut or jump that opens a document
stored on a network server, an intranet, or the Internet
Function just returns the "friendly name" of the link,
Excel doesn't appear to validate the url ...
|
protected static Ptg |
LogicalCalculator.calcIf(Ptg[] operands)
IF
Returns one value if a condition you specify evaluates to
TRUE and another value if it evaluates to FALSE.
|
protected static Ptg |
LogicalCalculator.calcIferror(Ptg[] operands)
IFERROR function
Returns a value you specify if a formula evaluates to an error; otherwise, returns the result of the formula.
|
protected static Ptg |
EngineeringCalculator.calcImAbs(Ptg[] operands)
IMABS
Returns the absolute value (modulus) of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImaginary(Ptg[] operands)
IMAGINARY
Returns the imaginary coefficient of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImArgument(Ptg[] operands)
IMARGUMENT
Returns the argument theta, an angle expressed in radians
|
protected static Ptg |
EngineeringCalculator.calcImConjugate(Ptg[] operands)
IMCONJUGATE
Returns the complex conjugate of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImCos(Ptg[] operands)
IMCOS
Returns the cosine of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImDiv(Ptg[] operands)
IMDIV
Returns the quotient of two complex numbers, defined as (deep breath):
(r1 + i1j)/(r2 + i2j) == ( r1r2 + i1i2 + (r2i1 - r1i2)i ) / (r2^2 + i2^2)
|
protected static Ptg |
EngineeringCalculator.calcImExp(Ptg[] operands)
IMEXP
Returns the exponential of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImLn(Ptg[] operands)
IMLN
Returns the natural logarithm of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImLog10(Ptg[] operands)
IMLOG10
Returns the base-10 logarithm of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImLog2(Ptg[] operands)
IMLOG2
Returns the base-2 logarithm of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImPower(Ptg[] operands)
IMPOWER
Returns a complex number raised to any power
|
protected static Ptg |
EngineeringCalculator.calcImProduct(Ptg[] operands)
IMPRODUCT
Returns the product of two complex numbers
|
protected static Ptg |
EngineeringCalculator.calcImReal(Ptg[] operands)
IMREAL
Returns the real coefficient of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImSin(Ptg[] operands)
IMSIN
Returns the sine of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImSqrt(Ptg[] operands)
IMSQRT
Returns the square root of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImSub(Ptg[] operands)
IMSUB
Returns the difference of two complex numbers
|
protected static Ptg |
EngineeringCalculator.calcImSum(Ptg[] operands)
IMSUM
Returns the sum of complex numbers
|
protected static Ptg |
LookupReferenceCalculator.calcIndex(Ptg[] operands)
INDEX
Returns a value or the reference to a value from within a table or range.
|
protected static Ptg |
LookupReferenceCalculator.calcIndirect(Ptg[] operands)
INDIRECT
Returns a reference indicated by a text value
INDIRECT(ref_text,a1)
Ref_text is a reference to a cell that contains an A1-style
reference, an R1C1-style reference, a name defined as a reference,
or a reference to a cell as a text string.
|
protected static Ptg |
InformationCalculator.calcInfo(Ptg[] operands)
INFO
Returns information about the current operating environment
INFO(type_text)
NOTE: Several options are incomplete:
"osversion" -- only valid for Windows versions
"system" -- only valid for Windows and Mac
"release" -- incomplete
"origin" -- does not return R1C1 format
|
protected static Ptg |
MathFunctionCalculator.calcInt(Ptg[] operands)
INT
Rounds a number down to the nearest integer
|
protected static Ptg |
StatisticalCalculator.calcIntercept(Ptg[] operands)
INTERCEPT
Returns the intercept of the linear regression line
|
protected static Ptg |
FinancialCalculator.calcINTRATE(Ptg[] operands)
INTRATE Returns the interest rate for a fully invested security
|
protected static Ptg |
FinancialCalculator.calcIPMT(Ptg[] operands)
IPMT Returns the interest payment for an investment for a given period.
|
protected static Ptg |
FinancialCalculator.calcIRR(Ptg[] operands)
IRR Returns the internal rate of return for a series of cash flows
Returns the internal rate of return for a series of cash flows
represented by the numbers in values.
|
protected static Ptg |
InformationCalculator.calcIsBlank(Ptg[] operands)
ISBLANK
ISBLANK determines if the cell referenced is blank, and returns
a boolean ptg based off that
|
protected static Ptg |
InformationCalculator.calcIserr(Ptg[] operands)
ISERR
Returns TRUE if the value is any error value except #N/A
|
protected static Ptg |
InformationCalculator.calcIserror(Ptg[] operands)
ISERROR
Value refers to any error value
(#N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!).
|
protected static Ptg |
InformationCalculator.calcIsEven(Ptg[] operands)
ISEVEN(number)
Number is the value to test.
|
protected static Ptg |
InformationCalculator.calcIsLogical(Ptg[] operands)
ISLOGICAL
Returns TRUE if the value is a logical value
|
protected static Ptg |
InformationCalculator.calcIsna(Ptg[] operands)
ISNA
Value refers to the #N/A
(value not available) error value.
|
protected static Ptg |
InformationCalculator.calcIsNonText(Ptg[] operands)
ISNONTEXT
Returns TRUE if the value is not text
|
protected static Ptg |
InformationCalculator.calcIsNumber(Ptg[] operands)
ISNUMBER
Returns TRUE if the value is a number
|
protected static Ptg |
InformationCalculator.calcIsOdd(Ptg[] operands)
ISODD
Returns TRUE if the number is odd
author: John
|
protected static Ptg |
FinancialCalculator.calcISPMT(Ptg[] operands)
ISPMT Calculates the interest paid during a specific period of an
investment.
|
protected static Ptg |
InformationCalculator.calcIsRef(Ptg[] operands)
ISREF
Returns TRUE if the value is a reference
|
protected static Ptg |
InformationCalculator.calcIsText(Ptg[] operands)
ISTEXT
Returns TRUE if the value is text
|
protected static Ptg |
TextCalculator.calcJIS(Ptg[] operands)
JIS function
The function described in this Help topic converts half-width (single-byte)
letters within a character string to full-width (double-byte) characters.
|
protected static Ptg |
StatisticalCalculator.calcLarge(Ptg[] operands)
LARGE
Returns the k-th largest value in a data set.
|
protected static Ptg |
MathFunctionCalculator.calcLCM(Ptg[] operands)
LCM
Returns the least common multiple
|
protected static Ptg |
TextCalculator.calcLeft(Ptg[] operands)
LEFT
Returns the leftmost characters from a text value
|
protected static Ptg |
TextCalculator.calcLeftB(Ptg[] operands)
LEFTB counts each double-byte character as 2 when you have enabled the editing of a
language that supports DBCS and then set it as the default language.
|
protected static Ptg |
TextCalculator.calcLen(Ptg[] operands)
LEN
Returns the number of characters in a text string
|
protected static Ptg |
TextCalculator.calcLenB(Ptg[] operands)
LENB counts each double-byte character as 2 when you have enabled the editing of
a language that supports DBCS and then set it as the default language.
|
protected static Ptg |
StatisticalCalculator.calcLineSt(Ptg[] operands)
LINEST
Returns the parameters of a linear trend
|
protected static Ptg |
MathFunctionCalculator.calcLn(Ptg[] operands)
LN
Returns the natural logarithm of a number
|
protected static Ptg |
MathFunctionCalculator.calcLog(Ptg[] operands)
LOG
Returns the logarithm of a number to a specified base
|
protected static Ptg |
MathFunctionCalculator.calcLog10(Ptg[] operands)
LOG10
Returns the base-10 logarithm of a number
|
static Ptg |
LookupReferenceCalculator.calcLookup(Ptg[] operands)
LOOKUP
The LOOKUP function returns a value either from a one-row or one-column range
You can also use the LOOKUP function as an alternative to the IF function for elaborate tests or
tests that exceed the limit for nesting of functions.
|
protected static Ptg |
TextCalculator.calcLower(Ptg[] operands)
LOWER
Converts text to lowercase
|
static Ptg |
LookupReferenceCalculator.calcMatch(Ptg[] operands)
MATCH
Looks up values in a reference or array
Returns the relative position of an item in an array that matches a specified value in a
specified order.
|
protected static Ptg |
StatisticalCalculator.calcMax(Ptg[] operands)
MAX
Returns the largest value in a set of values.
|
protected static Ptg |
StatisticalCalculator.calcMaxA(Ptg[] operands)
MAXA
Returns the maximum value in a list of arguments, including numbers, text, and logical values
Arguments can be the following: numbers; names, arrays, or references that contain numbers; text representations of numbers; or logical values, such as TRUE and FALSE, in a reference.
|
protected static Ptg |
FinancialCalculator.calcMDURATION(Ptg[] operands)
MDURATION Returns the Macauley modified duration for a security with an
assumed par value of $100
DURATION(settlement,maturity,coupon,yld,frequency,basis) Settlement is
the security's settlement date.
|
protected static Ptg |
StatisticalCalculator.calcMedian(Ptg[] operands)
MEDIAN
Returns the median of the given numbers
|
protected static Ptg |
TextCalculator.calcMid(Ptg[] operands)
MID
Returns a specific number of characters from a text string starting at the position you specify
|
protected static Ptg |
StatisticalCalculator.calcMin(Ptg[] operands)
MIN
Returns the smallest number in a set of values.
|
protected static Ptg |
StatisticalCalculator.calcMinA(Ptg[] operands)
MINA
Returns the smallest value in a list of arguments, including numbers, text, and logical values
Arguments can be the following: numbers; names, arrays, or references that contain numbers; text representations of numbers; or logical values, such as TRUE and FALSE, in a reference.
|
protected static Ptg |
DateTimeCalculator.calcMinute(Ptg[] operands)
MINUTE
Converts a serial number to a minute
|
protected static Ptg |
FinancialCalculator.calcMIRR(Ptg[] operands)
MIRR Returns the internal rate of return where positive and negative cash
flows are financed at different rates
MIRR(values,finance_rate,reinvest_rate)
Values is an array or a reference to cells that contain numbers.
|
protected static Ptg |
MathFunctionCalculator.calcMMult(Ptg[] operands)
MMULT
Returns the matrix product of two arrays:
The number of columns in array1 must be the same as the number of rows in array2,
and both arrays must contain only numbers.
|
protected static Ptg |
MathFunctionCalculator.calcMod(Ptg[] operands)
MOD
Returns the remainder from division
|
protected static Ptg |
StatisticalCalculator.calcMode(Ptg[] operands)
MODE
Returns the most common value in a data set
|
protected static Ptg |
DateTimeCalculator.calcMonth(Ptg[] operands)
MONTH
Converts a serial number to a month
|
protected static Ptg |
MathFunctionCalculator.calcMRound(Ptg[] operands)
MROUND
Returns a number rounded to the desired multiple
|
protected static Ptg |
MathFunctionCalculator.calcMultinomial(Ptg[] operands)
MULTINOMIAL
Returns the multinomial of a set of numbers
|
protected static Ptg |
InformationCalculator.calcN(Ptg[] operands)
N
Returns a value converted to a number.
|
protected static Ptg |
InformationCalculator.calcNa(Ptg[] operands)
NA
Returns the error value #N/A
|
protected static Ptg |
DateTimeCalculator.calcNetWorkdays(Ptg[] operands)
NETWORKDAYS
Returns the number of whole working days between start_date and end_date.
|
protected static Ptg |
FinancialCalculator.calcNominal(Ptg[] operands)
NOMINAL Returns the annual nominal interest rate
|
protected static Ptg |
StatisticalCalculator.calcNormdist(Ptg[] operands)
NORMDIST
Returns the normal cumulative distribution
NORMDIST(x,mean,standard_dev,cumulative)
X is the value for which you want the distribution.
|
static Ptg |
StatisticalCalculator.calcNormInv(Ptg[] operands) |
protected static Ptg |
StatisticalCalculator.calcNormsdist(Ptg[] operands)
NORMSDIST
Returns the standard normal cumulative distribution
NORMSDIST(z) returns the probability that the observed value of a
standard normal random variable will be less than or equal to z.
|
static Ptg |
StatisticalCalculator.calcNormsInv(Ptg[] operands) |
protected static Ptg |
LogicalCalculator.calcNot(Ptg[] operands)
Returns the opposite boolean
|
protected static Ptg |
DateTimeCalculator.calcNow(Ptg[] operands)
NOW
Returns the serial number of the current date and time
|
protected static Ptg |
FinancialCalculator.calcNPER(Ptg[] operands)
NPER Returns the number of periods for an investment NPER(rate, pmt, pv,
fv, type)
Rate is the interest rate per period.
|
protected static Ptg |
FinancialCalculator.calcNPV(Ptg[] operands)
NPV(rate,value1,value2, ...) Calculates the net present value of an
investment by using a discount rate and a series of future payments
(negative values) and income (positive values).
|
protected static Ptg |
EngineeringCalculator.calcOct2Bin(Ptg[] operands)
OCT2BIN
Converts an octal number to binary
|
protected static Ptg |
EngineeringCalculator.calcOct2Dec(Ptg[] operands)
OCT2DEC
Converts an octal number to decimal
|
protected static Ptg |
EngineeringCalculator.calcOct2Hex(Ptg[] operands)
OCT2HEX
Converts an octal number to hexadecimal
|
protected static Ptg |
MathFunctionCalculator.calcOdd(Ptg[] operands)
ODD
Rounds a number up to the nearest odd integer
|
protected static Ptg |
FinancialCalculator.calcODDFPRICE(Ptg[] operands)
ODDFPRICE Returns the price per $100 face value of a security with an odd
first period
ODDFPRICE(settlement,maturity,issue,first_coupon,rate,yld,redemption,frequency,basis)
|
protected static Ptg |
FinancialCalculator.calcODDFYIELD(Ptg[] operands) |
protected static Ptg |
FinancialCalculator.calcODDLPRICE(Ptg[] operands) |
protected static Ptg |
FinancialCalculator.calcODDLYIELD(Ptg[] operands) |
protected static Ptg |
LookupReferenceCalculator.calcOffset(Ptg[] operands)
calcOffset
Returns a reference to a range that is a specified number of rows and columns from a cell or range of cells.
|
protected static Ptg |
LogicalCalculator.calcOr(Ptg[] operands)
Returns the opposite boolean
|
static Ptg |
StatisticalCalculator.calcPearson(Ptg[] operands)
PEARSON
Returns the Pearson product moment correlation coefficient
|
protected static Ptg |
MathFunctionCalculator.calcPi(Ptg[] operands)
PI
Returns the value of Pi
|
protected static Ptg |
FinancialCalculator.calcPmt(Ptg[] operands)
PMT Returns the periodic payment for an annuity
pmt= - (fv + (1+rate)**nper * pv) * rate / ( ( (1+rate)**nper - 1 ) *
(1+rate*type) )
if fv or type are omitted they should be treated as 0 values.
|
protected static Ptg |
MathFunctionCalculator.calcPower(Ptg[] operands)
POWER
Returns the result of a number raised to a power
|
protected static Ptg |
FinancialCalculator.calcPPMT(Ptg[] operands)
PPMT Returns the payment on the principal for an investment for a given
period PPMT(rate,per,nper,pv,fv,type) Rate is the interest rate per
period.
|
protected static Ptg |
FinancialCalculator.calcPRICE(Ptg[] operands)
PRICE Returns the price per $100 face value of a security that pays
periodic interest
PRICE(settlement,maturity,rate,yld,redemption,frequency,basis) Settlement
is the security's settlement date.
|
protected static Ptg |
FinancialCalculator.calcPRICEDISC(Ptg[] operands)
PRICEDISC Returns the price per $100 face value of a discounted security
PRICEDISC(settlement,maturity,discount,redemption,frequency,basis)
Settlement is the security's settlement date.
|
protected static Ptg |
FinancialCalculator.calcPRICEMAT(Ptg[] operands)
PRICEMAT Returns the price per $100 face value of a security that pays
interest at maturity
|
protected static Ptg |
MathFunctionCalculator.calcProduct(Ptg[] operands)
PRODUCT
Multiplies its arguments
NOTE: we gotta deal with ranges/refs/numbers here
|
protected static Ptg |
TextCalculator.calcProper(Ptg[] operands)
PROPER
Capitalizes the first letter in each word of a text value
|
protected static Ptg |
FinancialCalculator.calcPV(Ptg[] operands)
PV(rate,nper,pmt,fv,type) Returns the present value of an investment Rate
is the interest rate per period.
|
protected static Ptg |
StatisticalCalculator.calcQuartile(Ptg[] operands)
QUARTILE
Returns the quartile of a data set
|
protected static Ptg |
MathFunctionCalculator.calcQuotient(Ptg[] operands)
QUOTIENT
Returns the integer portion of a division
|
protected static Ptg |
MathFunctionCalculator.calcRadians(Ptg[] operands)
RADIANS
Converts degrees to radians
|
protected static Ptg |
MathFunctionCalculator.calcRand(Ptg[] operands)
RAND
Returns a random number between 0 and 1
|
protected static Ptg |
MathFunctionCalculator.calcRandBetween(Ptg[] operands)
RANDBETWEEN
Returns a random number between the numbers you specify
|
protected static Ptg |
StatisticalCalculator.calcRank(Ptg[] operands)
RANK
Returns the rank of a number in a list of numbers
RANK(number,ref,order)
Number is the number whose rank you want to find.
|
protected static Ptg |
FinancialCalculator.calcRate(Ptg[] operands)
RATE Returns the interest rate per period of an annuity.
|
protected static Ptg |
FinancialCalculator.calcReceived(Ptg[] operands)
RECEIVED Returns the amount received at maturity for a fully invested
security
|
protected static Ptg |
TextCalculator.calcReplace(Ptg[] operands)
REPLACE
Replaces characters within text
|
protected static Ptg |
TextCalculator.calcRept(Ptg[] operands)
REPT
Repeats text a given number of times
|
protected static Ptg |
TextCalculator.calcRight(Ptg[] operands)
RIGHT
Returns the rightmost characters from a text value
|
protected static Ptg |
MathFunctionCalculator.calcRoman(Ptg[] operands)
ROMAN
Converts an Arabic numeral to Roman, as text
This one is a trip!
|
protected static Ptg |
MathFunctionCalculator.calcRound(Ptg[] operands)
ROUND
Rounds a number to a specified number of digits
This one is kind of nasty.
|
protected static Ptg |
MathFunctionCalculator.calcRoundDown(Ptg[] operands)
ROUNDDOWN
Rounds a number down, toward zero.
|
protected static Ptg |
MathFunctionCalculator.calcRoundUp(Ptg[] operands)
ROUNDUP
Rounds a number up, away from zero
|
protected static Ptg |
LookupReferenceCalculator.calcRow(Ptg[] operands)
ROW
Returns the row number of a reference
Note this is 1 based, ie Row1 = 1.
|
protected static Ptg |
LookupReferenceCalculator.calcRows(Ptg[] operands)
ROWS
Returns the number of rows in a reference
ROWS(array)
Array is an array, an array formula, or a reference to a range of cells for which you want the number of rows.
|
protected static Ptg |
StatisticalCalculator.calcRsq(Ptg[] operands)
RSQ
Returns the square of the Pearson product moment correlatin coefficient
|
protected static Ptg |
TextCalculator.calcSearch(Ptg[] operands)
SEARCH
Finds one text value within another (not case-sensitive)
|
protected static Ptg |
TextCalculator.calcSearchB(Ptg[] operands)
SEARCHB counts each double-byte character as 2 when you have enabled the editing of a
language that supports DBCS and then set it as the default language.
|
protected static Ptg |
DateTimeCalculator.calcSecond(Ptg[] operands)
SECOND
Converts a serial number to a second
|
protected static Ptg |
MathFunctionCalculator.calcSign(Ptg[] operands)
SIGN
Returns the sign of a number
return 1 if positive, -1 if negative, or 0 if 0;
|
protected static Ptg |
MathFunctionCalculator.calcSin(Ptg[] operands)
SIN
Returns the sine of the given angle
|
protected static Ptg |
MathFunctionCalculator.calcSinh(Ptg[] operands)
SINH
Returns the hyperbolic sine of a number
|
protected static Ptg |
FinancialCalculator.calcSLN(Ptg[] operands)
SLN Returns the straight-line depreciation of an asset for one period
SLN(cost,salvage,life) Cost is the initial cost of the asset.
|
protected static Ptg |
StatisticalCalculator.calcSlope(Ptg[] operands)
SLOPE
Returns the slope of the linear regression line
|
protected static Ptg |
StatisticalCalculator.calcSmall(Ptg[] operands)
SMALL
Returns the k-th smallest value in a data set
SMALL(array,k)
Array is an array or range of numerical data for which you want to determine the k-th smallest value.
|
protected static Ptg |
MathFunctionCalculator.calcSqrt(Ptg[] operands)
SQRT
Returns a positive square root
|
protected static Ptg |
MathFunctionCalculator.calcSqrtPi(Ptg[] operands)
SQRTPI
Returns the square root of (number * PI)
|
protected static Ptg |
StatisticalCalculator.calcStdev(Ptg[] operands)
STDEV(number1,number2, ...)
Number1,number2, ...
|
static Ptg |
StatisticalCalculator.calcSteyx(Ptg[] operands)
STEYX
Returns the standard error of the predicted y-value for each x in the regression
|
protected static Ptg |
TextCalculator.calcSubstitute(Ptg[] operands)
SUBSTITUTE
Substitutes new text for old text in a text string
|
protected static Ptg |
MathFunctionCalculator.calcSum(Ptg[] operands)
SUM
Adds all the numbers in a range of cells.
|
protected static Ptg |
MathFunctionCalculator.calcSumif(Ptg[] operands)
SUMIF
Adds the cells specified by a given criteria
You use the SUMIF function to sum the values in a range that meet criteria that you specify.
|
protected static Ptg |
MathFunctionCalculator.calcSumIfS(Ptg[] operands)
SUMIFS
Adds the cells in a range (range: Two or more cells on a sheet.
|
protected static Ptg |
MathFunctionCalculator.calcSumproduct(Ptg[] operands)
SUMPRODUCT
Returns the sum of the products of corresponding array components
|
protected static Ptg |
FinancialCalculator.calcSYD(Ptg[] operands)
SYD Returns the sum-of-years' digits depreciation of an asset for a
specified period SYD(cost,salvage,life,per) Cost is the initial cost of
the asset.
|
protected static Ptg |
TextCalculator.calcT(Ptg[] operands)
T
According to documentation converts its arguments to text -
not really though, it just returns value if they are text
|
protected static Ptg |
MathFunctionCalculator.calcTan(Ptg[] operands)
TAN
Returns the tangent of a number
|
protected static Ptg |
MathFunctionCalculator.calcTanh(Ptg[] operands)
TANH
Returns the hyperbolic tangent of a number
|
protected static Ptg |
FinancialCalculator.calcTBillEq(Ptg[] operands)
TBILLEQ Returns the bond-equivalent yield for a Treasury bill Settlement
is the Treasury bill's settlement date.
|
protected static Ptg |
FinancialCalculator.calcTBillPrice(Ptg[] operands)
TBILLPRICE Returns the price per $100 face value for a Treasury bill
|
protected static Ptg |
FinancialCalculator.calcTBillYield(Ptg[] operands)
TBILLYIELD Returns the yield for a Treasury bill
VDB Returns the depreciation of an asset for a specified or partial
period using a declining balance method
|
protected static Ptg |
TextCalculator.calcText(Ptg[] operands)
TEXT
Formats a number and converts it to text
Converts a value to text in a specific number format.
|
protected static Ptg |
DateTimeCalculator.calcTime(Ptg[] operands)
TIME
Returns the serial number of a particular time
takes 3 arguments, hour, minute, second;
|
protected static Ptg |
DateTimeCalculator.calcTimevalue(Ptg[] operands)
TIMEVALUE
Converts a time in the form of text to a serial number
Returns the decimal number of the time represented by a text string.
|
protected static Ptg |
DateTimeCalculator.calcToday(Ptg[] operands)
TODAY
Returns the serial number of today's date
|
protected static Ptg |
LookupReferenceCalculator.calcTranspose(Ptg[] operands)
TRANSPOSE
Returns the transpose of an array
The TRANSPOSE function returns a vertical range of cells as a horizontal range, or vice versa.
|
protected static Ptg |
StatisticalCalculator.calcTrend(Ptg[] operands)
TREND
Returns values along a linear trend
|
protected static Ptg |
TextCalculator.calcTrim(Ptg[] operands)
TRIM
According to documentation Trim() removes leading and trailing spaces from the cell value.
|
protected static Ptg |
LogicalCalculator.calcTrue(Ptg[] operands)
Returns the logical function true
|
protected static Ptg |
MathFunctionCalculator.calcTrunc(Ptg[] operands)
TRUNC
Truncates a number to an integer
|
protected static Ptg |
InformationCalculator.calcType(Ptg[] operands)
TYPE
Returns a number indicating the data type of a value
Value can be any Microsoft Excel value, such as a number, text, logical value, and so on.
|
static Ptg |
FormulaCalculator.calculateFormulaPtg(Stack expression)
Calculates the final Ptg result of calcStack.
|
static Ptg |
FunctionHandler.calculateFunction(Ptg[] ptgs) |
Ptg |
PtgFuncVar.calculatePtg(Ptg[] pthings) |
Ptg |
PtgGE.calculatePtg(Ptg[] form) |
Ptg |
PtgAdd.calculatePtg(Ptg[] form) |
Ptg |
PtgLT.calculatePtg(Ptg[] form) |
Ptg |
GenericPtg.calculatePtg(Ptg[] parsething)
return a Ptg consisting of the calculated values
of the ptg's passed in.
|
Ptg |
PtgExp.calculatePtg(Ptg[] parsething) |
Ptg |
PtgEQ.calculatePtg(Ptg[] form) |
Ptg |
Ptg.calculatePtg(Ptg[] parsething)
return a Ptg consisting of the calculated values
of the ptg's passed in.
|
Ptg |
PtgDiv.calculatePtg(Ptg[] form) |
Ptg |
PtgUnion.calculatePtg(Ptg[] form)
Union = All items from A and B, shared and not shared.
|
Ptg |
PtgUMinus.calculatePtg(Ptg[] form)
Operator specific calculate method, this one returns a single value sent to it.
|
Ptg |
PtgFunc.calculatePtg(Ptg[] pthings) |
Ptg |
PtgMlt.calculatePtg(Ptg[] form) |
Ptg |
PtgPercent.calculatePtg(Ptg[] form) |
Ptg |
PtgUPlus.calculatePtg(Ptg[] form) |
Ptg |
PtgAtr.calculatePtg(Ptg[] pthing) |
Ptg |
PtgLE.calculatePtg(Ptg[] form) |
Ptg |
PtgIsect.calculatePtg(Ptg[] form)
Intersection = Where A and B are shared.
|
Ptg |
PtgRange.calculatePtg(Ptg[] form)
The RANGE operator (:)
Returns the minimal rectangular range that contains both parameters.
|
Ptg |
PtgNE.calculatePtg(Ptg[] form) |
Ptg |
PtgGT.calculatePtg(Ptg[] form) |
Ptg |
PtgSub.calculatePtg(Ptg[] form)
Operator specific calculate method, this one subtracts one value from another
|
Ptg |
PtgConcat.calculatePtg(Ptg[] form)
Operator specific calculate method, this Concatenates two values
|
Ptg |
PtgPower.calculatePtg(Ptg[] form) |
static Ptg |
FunctionHandler.calculatePtgFunc(Ptg funk,
int funkId,
Ptg[] operands) |
static Ptg |
FunctionHandler.calculatePtgFuncVar(Ptg funk,
int funkId,
Ptg[] operands)
Keep the calculation of ptgfunc & ptgfuncvar seperate in case any differences show up
|
protected static Ptg |
TextCalculator.calcUpper(Ptg[] operands)
UPPER
Converts text to uppercase
|
protected static Ptg |
TextCalculator.calcValue(Ptg[] operands)
VALUE
Converts a text argument to a number
|
protected static Ptg |
StatisticalCalculator.calcVar(Ptg[] operands)
VAR
Estimates variance based on a sample
|
protected static Ptg |
StatisticalCalculator.calcVarp(Ptg[] operands)
VARp
Estimates variance based on a full population
|
protected static Ptg |
FinancialCalculator.calcVDB(Ptg[] operands)
VDB
Returns the depreciation of an asset for any period you specify,
including partial periods, using the double-declining balance method or
some other method you specify.
|
protected static Ptg |
LookupReferenceCalculator.calcVlookup(Ptg[] operands)
VLOOKUP
Looks in the first column of an array and moves across the row to return the value of a cell
Searches for a value in the leftmost column of a table, and then returns a value in the same row
from a column you specify in the table.
|
protected static Ptg |
DateTimeCalculator.calcWeekday(Ptg[] operands)
WEEKDAY Converts a serial number to a day of the week
|
protected static Ptg |
DateTimeCalculator.calcWeeknum(Ptg[] operands)
WEEKNUM
Returns a number that indicates where the week falls numerically within a year.
|
protected static Ptg |
DateTimeCalculator.calcWorkday(Ptg[] operands)
WORKDAY
Returns a number that represents a date that is the indicated number of working days before or after a date (the starting date).
|
protected static Ptg |
FinancialCalculator.calcXIRR(Ptg[] operands)
XIRR Returns the internal rate of return for a schedule of cash flows
that is not necessarily periodic
|
protected static Ptg |
FinancialCalculator.calcXNPV(Ptg[] operands)
XNPV Returns the net present value for a schedule of cash flows that is
not necessarily periodic
|
protected static Ptg |
DateTimeCalculator.calcYear(Ptg[] operands)
YEAR
Converts a serial number to a year
|
protected static Ptg |
DateTimeCalculator.calcYearFrac(Ptg[] operands)
YEARFRAC function
Calculates the fraction of the year represented by the number of whole days between two dates (the start_date and the end_date).
|
protected static Ptg |
FinancialCalculator.calcYIELD(Ptg[] operands)
YIELD Returns the yield on a security that pays periodic interest
YIELD(settlement,maturity,rate,pr,redemption,frequency,basis) Settlement
is the security's settlement date.
|
protected static Ptg |
FinancialCalculator.calcYieldDisc(Ptg[] operands)
YIELDDISC Returns the annual yield for a discounted security.
|
protected static Ptg |
FinancialCalculator.calcYieldMat(Ptg[] operands)
YIELDMAT Returns the annual yield of a security that pays interest at
maturity
|
static Ptg |
PtgRef.createPtgRefFromString(String address,
XLSRecord parent)
given an address string, parse and assign to the appropriate PtgRef-type object
#REF! 's return either PtgRefErr or PtgRefErr3d Ranges return either PtgArea or PtgArea3d Single addresses return either PtgRef or PtgRef3d NOTE: This method does not extract names embedded within the address string |
Ptg |
PtgArray.elementAt(int loc)
returns a ptg at the specified location.
|
Ptg |
PtgArray.elementAt(int col,
int row) |
protected static Ptg[] |
PtgCalculator.getAllComponents(Ptg operand) |
protected static Ptg[] |
PtgCalculator.getAllComponents(Ptg[] operands) |
Ptg[] |
PtgArea.getColComponents(int colNum) |
Ptg[] |
PtgRef3d.getColComponents(int colNum)
return the ptg components for a certain column within a ptgArea()
|
Ptg[] |
PtgMemFunc.getColComponents(int colNum)
return the ptg components for a certain column within a ptgArea()
|
Ptg[] |
GenericPtg.getComponents() |
Ptg[] |
Ptg.getComponents()
If a record consists of multiple sub records (ie PtgArea) return those
records, else return null;
|
Ptg[] |
PtgArea.getComponents()
Returns all of the cells of this range as PtgRef's.
|
Ptg[] |
PtgName.getComponents() |
Ptg[] |
PtgArray.getComponents() |
Ptg[] |
PtgRef3d.getComponents()
PtgRef's have no sub-compnents
|
Ptg[] |
PtgArea3d.getComponents()
Returns all of the cells of this range as PtgRef's.
|
Ptg[] |
PtgMemFunc.getComponents()
Returns all of the cells of this range as PtgRef's.
|
Ptg[] |
PtgMemArea.getComponents()
Returns all of the cells of this range as PtgRef's.
|
Ptg[] |
PtgExp.getConvertedExpression()
Looks up into it's parent shared formula, and returns
the expression as if it were a regular formula.
|
protected static Ptg |
PtgCalculator.getError() |
Ptg |
PtgMemFunc.getFirstloc() |
protected static Ptg |
PtgCalculator.getNAError()
returns an #NA! error ptg
|
Ptg |
GenericPtg.getPtgVal()
Gets the (return) value of this Ptg as an operand Ptg.
|
Ptg |
Ptg.getPtgVal()
Gets the (return) value of this Ptg as an operand Ptg.
|
Ptg[] |
PtgArea.getRowComponents(int rowNum)
return the ptg components for a certain column within a ptgArea()
|
protected static Ptg |
PtgCalculator.getValueError()
returns an #VALUE! error ptg
|
static Ptg |
FunctionHandler.parse_n_calc(Ptg function,
int functionId,
Ptg[] operands)
*
Your standard big case statement, calling methods based on what the funkid is.
|
| Modifier and Type | Method and Description |
|---|---|
protected static Ptg |
MathFunctionCalculator.calcAbs(Ptg[] operands)
ABS
Returns the absolute value of a number
|
protected static Ptg |
FinancialCalculator.calcAccrint(Ptg[] operands)
ACCRINT - Returns the accrued interest for a security that pays periodic
interest Analysis Pak function Issue is the security's issue date.
|
protected static Ptg |
FinancialCalculator.calcAccrintm(Ptg[] operands)
ACCRINTM Returns the accrued interest for a security that pays interest
at maturity Analysis Pak function
Issue is the security's issue date.
|
protected static Ptg |
MathFunctionCalculator.calcAcos(Ptg[] operands)
ACOS
Returns the arccosine of a number
|
protected static Ptg |
MathFunctionCalculator.calcAcosh(Ptg[] operands)
ACOSH
Returns the inverse hyperbolic cosine of a number
|
protected static Ptg |
LookupReferenceCalculator.calcAddress(Ptg[] operands)
ADDRESS
Creates a cell address as text, given specified row and column numbers.
|
protected static Ptg |
FinancialCalculator.calcAmordegrc(Ptg[] operands)
AMORDEGRC Returns the depreciation for each accounting period
|
protected static Ptg |
FinancialCalculator.calcAmorlinc(Ptg[] operands)
AMORLINC Returns the depreciation for each accounting period
|
protected static Ptg |
LogicalCalculator.calcAnd(Ptg[] operands)
AND
Returns TRUE if all its arguments are TRUE;
returns FALSE if one or more arguments is FALSE.
|
protected static Ptg |
LookupReferenceCalculator.calcAreas(Ptg[] operands)
AREAS
Returns the number of areas in a reference.
|
protected static Ptg |
TextCalculator.calcAsc(Ptg[] operands)
ASC function
For Double-byte character set (DBCS) languages, changes full-width (double-byte) characters to half-width (single-byte) characters.
|
protected static Ptg |
MathFunctionCalculator.calcAsin(Ptg[] operands)
ASIN
Returns the arcsine of a number
|
protected static Ptg |
MathFunctionCalculator.calcAsinh(Ptg[] operands)
ASINH
Returns the inverse hyperbolic sine of a number
|
protected static Ptg |
MathFunctionCalculator.calcAtan(Ptg[] operands)
ATAN
Returns the arctangent of a number
|
protected static Ptg |
MathFunctionCalculator.calcAtan2(Ptg[] operands)
ATAN2
Returns the arctangent from x- and y- coordinates
|
protected static Ptg |
MathFunctionCalculator.calcAtanh(Ptg[] operands)
ATANH
Returns the inverse hyperbolic tangent of a number
|
protected static Ptg |
StatisticalCalculator.calcAveDev(Ptg[] operands)
AVEDEV(number1,number2, ...)
Number1, number2, ...
|
protected static Ptg |
StatisticalCalculator.calcAverage(Ptg[] operands)
AVERAGE
Returns the average (arithmetic mean) of the arguments.
|
protected static Ptg |
StatisticalCalculator.calcAverageA(Ptg[] operands)
AVERAGEA
Returns the average of its arguments, including numbers, text,
and logical values
The arguments must be numbers, names, arrays, or references.
|
protected static Ptg |
StatisticalCalculator.calcAverageIf(Ptg[] operands)
AVERAGEIF function
Returns the average (arithmetic mean) of all the cells in a range that meet a given criteria.
|
protected static Ptg |
StatisticalCalculator.calcAverageIfS(Ptg[] operands)
AVERAGEIFS
Returns the average (arithmetic mean) of all cells that meet multiple criteria.
|
protected static Ptg |
EngineeringCalculator.calcBin2Dec(Ptg[] operands)
BIN2DEC
Converts a binary number to decimal
|
protected static Ptg |
EngineeringCalculator.calcBin2Hex(Ptg[] operands)
BIN2HEX
Converts a binary number to hexadecimal
|
protected static Ptg |
EngineeringCalculator.calcBin2Oct(Ptg[] operands)
BIN2OCT
Converts a binary number to octal
|
protected static Ptg |
MathFunctionCalculator.calcCeiling(Ptg[] operands)
CEILING
Rounds a number to the nearest multiple of significance;
This takes 2 values, first the number to round, next the value of signifigance.
|
protected static Ptg |
InformationCalculator.calcCell(Ptg[] operands)
CELL
Returns information about the formatting, location, or contents of a cell
The CELL function returns information about the formatting, location, or contents of a cell.
|
protected static Ptg |
TextCalculator.calcChar(Ptg[] operands)
CHAR
Returns the character specified by the code number
|
protected static Ptg |
LookupReferenceCalculator.calcChoose(Ptg[] operands)
CHOOSE
Chooses a value from a list of values
Note, this function does not support one specific use-case.
|
protected static Ptg |
TextCalculator.calcClean(Ptg[] operands)
CLEAN
Removes all nonprintable characters from text.
|
protected static Ptg |
TextCalculator.calcCode(Ptg[] operands)
CODE
Returns a numeric code for the first character in a text string
|
protected static Ptg |
LookupReferenceCalculator.calcColumn(Ptg[] operands)
COLUMN
Returns the column number of a reference
|
protected static Ptg |
LookupReferenceCalculator.calcColumns(Ptg[] operands)
COLUMNS
Returns the number of columns in an array reference or array formula
|
protected static Ptg |
MathFunctionCalculator.calcCombin(Ptg[] operands)
COMBIN
Returns the number of combinations for a given number of objects
|
protected static Ptg |
EngineeringCalculator.calcComplex(Ptg[] operands)
COMPLEX
Converts real and imaginary coefficients into a complex number
|
protected static Ptg |
TextCalculator.calcConcatenate(Ptg[] operands)
CONCATENATE
Joins several text items into one text item
|
protected static Ptg |
EngineeringCalculator.calcConvert(Ptg[] operands) |
protected static Ptg |
StatisticalCalculator.calcCorrel(Ptg[] operands)
CORREL
Returns the correlation coefficient between two data sets
|
protected static Ptg |
MathFunctionCalculator.calcCos(Ptg[] operands)
COS
Returns the cosine of a number
|
protected static Ptg |
MathFunctionCalculator.calcCosh(Ptg[] operands)
COSH
Returns the hyperbolic cosine of a number
|
protected static Ptg |
StatisticalCalculator.calcCount(Ptg[] operands)
Counts the number of cells that contain numbers
and or dates.
|
protected static Ptg |
StatisticalCalculator.calcCountA(Ptg[] operands)
COUNTA
Counts the number of non-blank cells within a range
|
protected static Ptg |
StatisticalCalculator.calcCountBlank(Ptg[] operands)
COUNTBLANK
Counts the number of blank cells within a range
|
protected static Ptg |
StatisticalCalculator.calcCountif(Ptg[] operands)
COUNTIF
Counts the number of non-blank cells within a range which meet the given criteria
BRUTAL!!
|
protected static Ptg |
StatisticalCalculator.calcCountIfS(Ptg[] operands)
COUNTIFS
criteria_range1 Required.
|
protected static Ptg |
FinancialCalculator.calcCoupDayBS(Ptg[] operands)
COUPDAYBS --
Returns the number of days from the beginning of the coupon period to the
settlement date Settlement is the security's settlement date.
|
protected static Ptg |
FinancialCalculator.calcCoupDays(Ptg[] operands)
COUPDAYS Returns the number of days in the coupon period that contains
the settlement date Settlement is the security's settlement date.
|
protected static Ptg |
FinancialCalculator.calcCoupDaysNC(Ptg[] operands)
COUPDAYSNC - Returns the number of days from the settlement date to the
next coupon date
Settlement is the security's settlement date.
|
protected static Ptg |
FinancialCalculator.calcCoupNCD(Ptg[] operands)
COUPNCD Returns the next coupon date after the settlement date Returns a
number that represents the next coupon date after the settlement date.
|
protected static Ptg |
FinancialCalculator.calcCoupNum(Ptg[] operands)
COUPNUM Returns the number of coupons payable between the settlement date
and maturity date Settlement is the security's settlement date.
|
protected static Ptg |
FinancialCalculator.calcCoupPCD(Ptg[] operands)
COUPPCD Returns the previous coupon date before the settlement date
|
protected static Ptg |
StatisticalCalculator.calcCovar(Ptg[] operands)
COVAR
Returns covariance, the average of the products of paired deviations
|
protected static Ptg |
FinancialCalculator.calcCumIPmt(Ptg[] operands)
CUMIPMT Returns the cumulative interest paid between two periods
CUMIPMT(rate,nper,pv,start_period,end_period,type) All parameters are
require Rate is the interest rate.
|
protected static Ptg |
FinancialCalculator.calcCumPrinc(Ptg[] operands)
CUMPRINC Returns the cumulative principal paid on a loan between
start_period and end_period.
|
protected static Ptg |
DateTimeCalculator.calcDate(Ptg[] operands)
DATE
|
protected static Ptg |
DateTimeCalculator.calcDateValue(Ptg[] operands)
DATEVALUE
Returns the serial number of the date represented by date_text.
|
protected static Ptg |
DatabaseCalculator.calcDAverage(Ptg[] operands)
DAVERAGE Returns the average of selected database entries
|
protected static Ptg |
DateTimeCalculator.calcDay(Ptg[] operands)
DAY
Return the day of the month
|
protected static Ptg |
DateTimeCalculator.calcDays360(Ptg[] operands)
DAYS360
Calculate the difference between 2 dates based on a 360
day year, 12 mos, 30days each.
|
protected static Ptg |
FinancialCalculator.calcDB(Ptg[] operands)
DB Returns the depreciation of an asset for a specified period using the
fixed-declining balance method
DB(cost,salvage,life,period,month)
Cost is the initial cost of the asset.
|
protected static Ptg |
DatabaseCalculator.calcDCount(Ptg[] operands)
DCOUNT Counts the cells that contain numbers in a database
|
protected static Ptg |
DatabaseCalculator.calcDCountA(Ptg[] operands)
DCOUNTA Counts nonblank cells in a database
|
protected static Ptg |
FinancialCalculator.calcDDB(Ptg[] operands)
DDB Returns the depreciation of an asset for a spcified period using the
double-declining balance method or some other method you specify
DDB(cost,salvage,life,period,factor)
Cost is the initial cost of the asset.
|
protected static Ptg |
EngineeringCalculator.calcDec2Bin(Ptg[] operands)
DEC2BIN
Converts a decimal number to binary
|
protected static Ptg |
EngineeringCalculator.calcDec2Hex(Ptg[] operands)
DEC2HEX
Converts a decimal number to hexadecimal
|
protected static Ptg |
EngineeringCalculator.calcDec2Oct(Ptg[] operands)
DEC2OCT
Converts a decimal number to octal
|
protected static Ptg |
MathFunctionCalculator.calcDegrees(Ptg[] operands)
DEGREES
Converts radians to degrees
|
protected static Ptg |
EngineeringCalculator.calcDelta(Ptg[] operands)
DELTA
Tests whether two values are equal
|
protected static Ptg |
DatabaseCalculator.calcDGet(Ptg[] operands)
DGET Extracts from a database a single record that matches the specified criteria
|
protected static Ptg |
FinancialCalculator.calcDISC(Ptg[] operands)
DISC Returns the discount rate for a security
Settlement is the security's settlement date.
|
protected static Ptg |
DatabaseCalculator.calcDMax(Ptg[] operands)
DMAX Returns the maximum value from selected database entries
|
protected static Ptg |
DatabaseCalculator.calcDMin(Ptg[] operands)
DMIN Returns the minimum value from selected database entries
|
protected static Ptg |
TextCalculator.calcDollar(Ptg[] operands)
DOLLAR
Converts a number to text, using currency format.
|
protected static Ptg |
FinancialCalculator.calcDollarDE(Ptg[] operands)
DOLLARDE Converts a dollar price, expressed as a fraction, into a dollar
price, expressed as a decimal number Fractional_dollar is a number
expressed as a fraction.
|
protected static Ptg |
FinancialCalculator.calcDollarFR(Ptg[] operands)
DOLLARFR Converts a dollar price, expressed as a decimal number, into a
dollar price, expressed as a fraction Decimal_dollar is a decimal number.
|
protected static Ptg |
DatabaseCalculator.calcDProduct(Ptg[] operands)
DPRODUCT Multiplies the values in a particular field of records that match the criteria in a database
|
protected static Ptg |
DatabaseCalculator.calcDStdDev(Ptg[] operands)
DSTDEV Estimates the standard deviation based on a sample of selected database entries
|
protected static Ptg |
DatabaseCalculator.calcDStdDevP(Ptg[] operands)
DSTDEVP Calculates the standard deviation based on the entire population of selected database entries
|
protected static Ptg |
DatabaseCalculator.calcDSum(Ptg[] operands)
DSUM Adds the numbers in the field column of records in the database that match the criteria
|
protected static Ptg |
FinancialCalculator.calcDURATION(Ptg[] operands)
DURATION Returns the annual duration of a security with periodic interest
payments
DURATION(settlement,maturity,coupon,yld,frequency,basis)
Settlement is the security's settlement date.
|
protected static Ptg |
DatabaseCalculator.calcDVar(Ptg[] operands)
DVAR Estimates variance based on a sample from selected database entries
|
protected static Ptg |
DatabaseCalculator.calcDVarP(Ptg[] operands) |
protected static Ptg |
DateTimeCalculator.calcEdate(Ptg[] operands)
EDATE
Returns the serial number that represents the date that is the indicated number of months
before or after a specified date (the start_date).
|
protected static Ptg |
FinancialCalculator.calcEffect(Ptg[] operands)
EFFECT Returns the effective annual interest rate Nominal_rate is the
nominal interest rate.
|
protected static Ptg |
DateTimeCalculator.calcEOMonth(Ptg[] operands)
EOMONTH
Returns the serial number for the last day of the month that is the indicated number of months
before or after start_date.
|
protected static Ptg |
EngineeringCalculator.calcErf(Ptg[] operands)
ERF
Returns the error function integrated between lower_limit and upper_limit.
|
protected static Ptg |
InformationCalculator.calcErrorType(Ptg[] operands)
ERROR.TYPE
Returns a number corresponding to an error type
If error_val is
ERROR.TYPE returns
#NULL! 1
#DIV/0! 2
#VALUE! 3
#REF! 4
#NAME? 5
#NUM! 6
#N/A 7
Anything else #N/A
|
protected static Ptg |
MathFunctionCalculator.calcEven(Ptg[] operands)
EVEN
Rounds a number up to the nearest even integer
|
protected static Ptg |
TextCalculator.calcExact(Ptg[] operands)
EXACT
Checks to see if two text values are identical
|
protected static Ptg |
MathFunctionCalculator.calcExp(Ptg[] operands)
EXP
Returns e raised to the power of number.
|
protected static Ptg |
MathFunctionCalculator.calcFact(Ptg[] operands)
FACT
Returns the factorial of a number
|
protected static Ptg |
MathFunctionCalculator.calcFactDouble(Ptg[] operands)
FACTDOUBLE
Returns the double factorial of a number
Example
!!6 = 6*4*2
!!7 = 7*5*3*1;
|
protected static Ptg |
LogicalCalculator.calcFalse(Ptg[] operands)
Returns the logical function False
|
protected static Ptg |
TextCalculator.calcFind(Ptg[] operands)
FIND
Finds one text value within another (case-sensitive)
|
protected static Ptg |
TextCalculator.calcFindB(Ptg[] operands)
FINDB counts each double-byte character as 2 when you have enabled the editing of a language that supports DBCS and then set it as the default language.
|
protected static Ptg |
TextCalculator.calcFixed(Ptg[] operands)
FIXED
Formats a number as text with a fixed number of decimals
|
protected static Ptg |
MathFunctionCalculator.calcFloor(Ptg[] operands)
FLOOR
Rounds a number down, toward zero.
|
protected static Ptg |
StatisticalCalculator.calcForecast(Ptg[] operands)
FORECAST
Returns a value along a linear trend
|
protected static Ptg |
StatisticalCalculator.calcFrequency(Ptg[] operands)
FREQUENCY
Returns a frequency distribution as a vertical array
|
protected static Ptg |
FinancialCalculator.calcFV(Ptg[] operands)
FV Returns the future value of an investment FV(rate,nper,pmt,pv,type)
Rate is the interest rate per period.
|
protected static Ptg |
FinancialCalculator.calcFVSCHEDULE(Ptg[] operands)
FVSCHEDULE Returns the future value of an initial principal after
applying a series of compound interest rates
|
protected static Ptg |
MathFunctionCalculator.calcGCD(Ptg[] operands)
GCD
Returns the greatest common divisor
TODO: Finish!
|
protected static Ptg |
EngineeringCalculator.calcGEStep(Ptg[] operands)
GESTEP
Tests whether a number is greater than a threshold value
|
protected static Ptg |
EngineeringCalculator.calcHex2Bin(Ptg[] operands)
HEX2BIN
Converts a hexadecimal number to binary
|
protected static Ptg |
EngineeringCalculator.calcHex2Dec(Ptg[] operands)
HEX2DEC
Converts a hexadecimal number to decimal
|
protected static Ptg |
EngineeringCalculator.calcHex2Oct(Ptg[] operands)
HEX2OCT
Converts a hexadecimal number to octal
|
protected static Ptg |
LookupReferenceCalculator.calcHlookup(Ptg[] operands)
HLOOKUP: Looks in the top row of an array and returns the value of the
indicated cell.
|
protected static Ptg |
DateTimeCalculator.calcHour(Ptg[] operands)
HOUR
Converts a serial number to an hour
|
protected static Ptg |
LookupReferenceCalculator.calcHyperlink(Ptg[] operands)
HYPERLINK
Creates a shortcut or jump that opens a document
stored on a network server, an intranet, or the Internet
Function just returns the "friendly name" of the link,
Excel doesn't appear to validate the url ...
|
protected static Ptg |
LogicalCalculator.calcIf(Ptg[] operands)
IF
Returns one value if a condition you specify evaluates to
TRUE and another value if it evaluates to FALSE.
|
protected static Ptg |
LogicalCalculator.calcIferror(Ptg[] operands)
IFERROR function
Returns a value you specify if a formula evaluates to an error; otherwise, returns the result of the formula.
|
protected static Ptg |
EngineeringCalculator.calcImAbs(Ptg[] operands)
IMABS
Returns the absolute value (modulus) of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImaginary(Ptg[] operands)
IMAGINARY
Returns the imaginary coefficient of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImArgument(Ptg[] operands)
IMARGUMENT
Returns the argument theta, an angle expressed in radians
|
protected static Ptg |
EngineeringCalculator.calcImConjugate(Ptg[] operands)
IMCONJUGATE
Returns the complex conjugate of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImCos(Ptg[] operands)
IMCOS
Returns the cosine of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImDiv(Ptg[] operands)
IMDIV
Returns the quotient of two complex numbers, defined as (deep breath):
(r1 + i1j)/(r2 + i2j) == ( r1r2 + i1i2 + (r2i1 - r1i2)i ) / (r2^2 + i2^2)
|
protected static Ptg |
EngineeringCalculator.calcImExp(Ptg[] operands)
IMEXP
Returns the exponential of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImLn(Ptg[] operands)
IMLN
Returns the natural logarithm of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImLog10(Ptg[] operands)
IMLOG10
Returns the base-10 logarithm of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImLog2(Ptg[] operands)
IMLOG2
Returns the base-2 logarithm of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImPower(Ptg[] operands)
IMPOWER
Returns a complex number raised to any power
|
protected static Ptg |
EngineeringCalculator.calcImProduct(Ptg[] operands)
IMPRODUCT
Returns the product of two complex numbers
|
protected static Ptg |
EngineeringCalculator.calcImReal(Ptg[] operands)
IMREAL
Returns the real coefficient of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImSin(Ptg[] operands)
IMSIN
Returns the sine of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImSqrt(Ptg[] operands)
IMSQRT
Returns the square root of a complex number
|
protected static Ptg |
EngineeringCalculator.calcImSub(Ptg[] operands)
IMSUB
Returns the difference of two complex numbers
|
protected static Ptg |
EngineeringCalculator.calcImSum(Ptg[] operands)
IMSUM
Returns the sum of complex numbers
|
protected static Ptg |
LookupReferenceCalculator.calcIndex(Ptg[] operands)
INDEX
Returns a value or the reference to a value from within a table or range.
|
protected static Ptg |
LookupReferenceCalculator.calcIndirect(Ptg[] operands)
INDIRECT
Returns a reference indicated by a text value
INDIRECT(ref_text,a1)
Ref_text is a reference to a cell that contains an A1-style
reference, an R1C1-style reference, a name defined as a reference,
or a reference to a cell as a text string.
|
protected static Ptg |
InformationCalculator.calcInfo(Ptg[] operands)
INFO
Returns information about the current operating environment
INFO(type_text)
NOTE: Several options are incomplete:
"osversion" -- only valid for Windows versions
"system" -- only valid for Windows and Mac
"release" -- incomplete
"origin" -- does not return R1C1 format
|
protected static Ptg |
MathFunctionCalculator.calcInt(Ptg[] operands)
INT
Rounds a number down to the nearest integer
|
protected static Ptg |
StatisticalCalculator.calcIntercept(Ptg[] operands)
INTERCEPT
Returns the intercept of the linear regression line
|
protected static Ptg |
FinancialCalculator.calcINTRATE(Ptg[] operands)
INTRATE Returns the interest rate for a fully invested security
|
protected static Ptg |
FinancialCalculator.calcIPMT(Ptg[] operands)
IPMT Returns the interest payment for an investment for a given period.
|
protected static Ptg |
FinancialCalculator.calcIRR(Ptg[] operands)
IRR Returns the internal rate of return for a series of cash flows
Returns the internal rate of return for a series of cash flows
represented by the numbers in values.
|
protected static Ptg |
InformationCalculator.calcIsBlank(Ptg[] operands)
ISBLANK
ISBLANK determines if the cell referenced is blank, and returns
a boolean ptg based off that
|
protected static Ptg |
InformationCalculator.calcIserr(Ptg[] operands)
ISERR
Returns TRUE if the value is any error value except #N/A
|
protected static Ptg |
InformationCalculator.calcIserror(Ptg[] operands)
ISERROR
Value refers to any error value
(#N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!).
|
protected static Ptg |
InformationCalculator.calcIsEven(Ptg[] operands)
ISEVEN(number)
Number is the value to test.
|
protected static Ptg |
InformationCalculator.calcIsLogical(Ptg[] operands)
ISLOGICAL
Returns TRUE if the value is a logical value
|
protected static Ptg |
InformationCalculator.calcIsna(Ptg[] operands)
ISNA
Value refers to the #N/A
(value not available) error value.
|
protected static Ptg |
InformationCalculator.calcIsNonText(Ptg[] operands)
ISNONTEXT
Returns TRUE if the value is not text
|
protected static Ptg |
InformationCalculator.calcIsNumber(Ptg[] operands)
ISNUMBER
Returns TRUE if the value is a number
|
protected static Ptg |
InformationCalculator.calcIsOdd(Ptg[] operands)
ISODD
Returns TRUE if the number is odd
author: John
|
protected static Ptg |
FinancialCalculator.calcISPMT(Ptg[] operands)
ISPMT Calculates the interest paid during a specific period of an
investment.
|
protected static Ptg |
InformationCalculator.calcIsRef(Ptg[] operands)
ISREF
Returns TRUE if the value is a reference
|
protected static Ptg |
InformationCalculator.calcIsText(Ptg[] operands)
ISTEXT
Returns TRUE if the value is text
|
protected static Ptg |
TextCalculator.calcJIS(Ptg[] operands)
JIS function
The function described in this Help topic converts half-width (single-byte)
letters within a character string to full-width (double-byte) characters.
|
protected static Ptg |
StatisticalCalculator.calcLarge(Ptg[] operands)
LARGE
Returns the k-th largest value in a data set.
|
protected static Ptg |
MathFunctionCalculator.calcLCM(Ptg[] operands)
LCM
Returns the least common multiple
|
protected static Ptg |
TextCalculator.calcLeft(Ptg[] operands)
LEFT
Returns the leftmost characters from a text value
|
protected static Ptg |
TextCalculator.calcLeftB(Ptg[] operands)
LEFTB counts each double-byte character as 2 when you have enabled the editing of a
language that supports DBCS and then set it as the default language.
|
protected static Ptg |
TextCalculator.calcLen(Ptg[] operands)
LEN
Returns the number of characters in a text string
|
protected static Ptg |
TextCalculator.calcLenB(Ptg[] operands)
LENB counts each double-byte character as 2 when you have enabled the editing of
a language that supports DBCS and then set it as the default language.
|
protected static Ptg |
StatisticalCalculator.calcLineSt(Ptg[] operands)
LINEST
Returns the parameters of a linear trend
|
protected static Ptg |
MathFunctionCalculator.calcLn(Ptg[] operands)
LN
Returns the natural logarithm of a number
|
protected static Ptg |
MathFunctionCalculator.calcLog(Ptg[] operands)
LOG
Returns the logarithm of a number to a specified base
|
protected static Ptg |
MathFunctionCalculator.calcLog10(Ptg[] operands)
LOG10
Returns the base-10 logarithm of a number
|
static Ptg |
LookupReferenceCalculator.calcLookup(Ptg[] operands)
LOOKUP
The LOOKUP function returns a value either from a one-row or one-column range
You can also use the LOOKUP function as an alternative to the IF function for elaborate tests or
tests that exceed the limit for nesting of functions.
|
protected static Ptg |
TextCalculator.calcLower(Ptg[] operands)
LOWER
Converts text to lowercase
|
static Ptg |
LookupReferenceCalculator.calcMatch(Ptg[] operands)
MATCH
Looks up values in a reference or array
Returns the relative position of an item in an array that matches a specified value in a
specified order.
|
protected static Ptg |
StatisticalCalculator.calcMax(Ptg[] operands)
MAX
Returns the largest value in a set of values.
|
protected static Ptg |
StatisticalCalculator.calcMaxA(Ptg[] operands)
MAXA
Returns the maximum value in a list of arguments, including numbers, text, and logical values
Arguments can be the following: numbers; names, arrays, or references that contain numbers; text representations of numbers; or logical values, such as TRUE and FALSE, in a reference.
|
protected static Ptg |
FinancialCalculator.calcMDURATION(Ptg[] operands)
MDURATION Returns the Macauley modified duration for a security with an
assumed par value of $100
DURATION(settlement,maturity,coupon,yld,frequency,basis) Settlement is
the security's settlement date.
|
protected static Ptg |
StatisticalCalculator.calcMedian(Ptg[] operands)
MEDIAN
Returns the median of the given numbers
|
protected static Ptg |
TextCalculator.calcMid(Ptg[] operands)
MID
Returns a specific number of characters from a text string starting at the position you specify
|
protected static Ptg |
StatisticalCalculator.calcMin(Ptg[] operands)
MIN
Returns the smallest number in a set of values.
|
protected static Ptg |
StatisticalCalculator.calcMinA(Ptg[] operands)
MINA
Returns the smallest value in a list of arguments, including numbers, text, and logical values
Arguments can be the following: numbers; names, arrays, or references that contain numbers; text representations of numbers; or logical values, such as TRUE and FALSE, in a reference.
|
protected static Ptg |
DateTimeCalculator.calcMinute(Ptg[] operands)
MINUTE
Converts a serial number to a minute
|
protected static Ptg |
FinancialCalculator.calcMIRR(Ptg[] operands)
MIRR Returns the internal rate of return where positive and negative cash
flows are financed at different rates
MIRR(values,finance_rate,reinvest_rate)
Values is an array or a reference to cells that contain numbers.
|
protected static Ptg |
MathFunctionCalculator.calcMMult(Ptg[] operands)
MMULT
Returns the matrix product of two arrays:
The number of columns in array1 must be the same as the number of rows in array2,
and both arrays must contain only numbers.
|
protected static Ptg |
MathFunctionCalculator.calcMod(Ptg[] operands)
MOD
Returns the remainder from division
|
protected static Ptg |
StatisticalCalculator.calcMode(Ptg[] operands)
MODE
Returns the most common value in a data set
|
protected static Ptg |
DateTimeCalculator.calcMonth(Ptg[] operands)
MONTH
Converts a serial number to a month
|
protected static Ptg |
MathFunctionCalculator.calcMRound(Ptg[] operands)
MROUND
Returns a number rounded to the desired multiple
|
protected static Ptg |
MathFunctionCalculator.calcMultinomial(Ptg[] operands)
MULTINOMIAL
Returns the multinomial of a set of numbers
|
protected static Ptg |
InformationCalculator.calcN(Ptg[] operands)
N
Returns a value converted to a number.
|
protected static Ptg |
InformationCalculator.calcNa(Ptg[] operands)
NA
Returns the error value #N/A
|
protected static Ptg |
DateTimeCalculator.calcNetWorkdays(Ptg[] operands)
NETWORKDAYS
Returns the number of whole working days between start_date and end_date.
|
protected static Ptg |
FinancialCalculator.calcNominal(Ptg[] operands)
NOMINAL Returns the annual nominal interest rate
|
protected static Ptg |
StatisticalCalculator.calcNormdist(Ptg[] operands)
NORMDIST
Returns the normal cumulative distribution
NORMDIST(x,mean,standard_dev,cumulative)
X is the value for which you want the distribution.
|
static Ptg |
StatisticalCalculator.calcNormInv(Ptg[] operands) |
protected static Ptg |
StatisticalCalculator.calcNormsdist(Ptg[] operands)
NORMSDIST
Returns the standard normal cumulative distribution
NORMSDIST(z) returns the probability that the observed value of a
standard normal random variable will be less than or equal to z.
|
static Ptg |
StatisticalCalculator.calcNormsInv(Ptg[] operands) |
protected static Ptg |
LogicalCalculator.calcNot(Ptg[] operands)
Returns the opposite boolean
|
protected static Ptg |
DateTimeCalculator.calcNow(Ptg[] operands)
NOW
Returns the serial number of the current date and time
|
protected static Ptg |
FinancialCalculator.calcNPER(Ptg[] operands)
NPER Returns the number of periods for an investment NPER(rate, pmt, pv,
fv, type)
Rate is the interest rate per period.
|
protected static Ptg |
FinancialCalculator.calcNPV(Ptg[] operands)
NPV(rate,value1,value2, ...) Calculates the net present value of an
investment by using a discount rate and a series of future payments
(negative values) and income (positive values).
|
protected static Ptg |
EngineeringCalculator.calcOct2Bin(Ptg[] operands)
OCT2BIN
Converts an octal number to binary
|
protected static Ptg |
EngineeringCalculator.calcOct2Dec(Ptg[] operands)
OCT2DEC
Converts an octal number to decimal
|
protected static Ptg |
EngineeringCalculator.calcOct2Hex(Ptg[] operands)
OCT2HEX
Converts an octal number to hexadecimal
|
protected static Ptg |
MathFunctionCalculator.calcOdd(Ptg[] operands)
ODD
Rounds a number up to the nearest odd integer
|
protected static Ptg |
FinancialCalculator.calcODDFPRICE(Ptg[] operands)
ODDFPRICE Returns the price per $100 face value of a security with an odd
first period
ODDFPRICE(settlement,maturity,issue,first_coupon,rate,yld,redemption,frequency,basis)
|
protected static Ptg |
FinancialCalculator.calcODDFYIELD(Ptg[] operands) |
protected static Ptg |
FinancialCalculator.calcODDLPRICE(Ptg[] operands) |
protected static Ptg |
FinancialCalculator.calcODDLYIELD(Ptg[] operands) |
protected static Ptg |
LookupReferenceCalculator.calcOffset(Ptg[] operands)
calcOffset
Returns a reference to a range that is a specified number of rows and columns from a cell or range of cells.
|
protected static Ptg |
LogicalCalculator.calcOr(Ptg[] operands)
Returns the opposite boolean
|
static Ptg |
StatisticalCalculator.calcPearson(Ptg[] operands)
PEARSON
Returns the Pearson product moment correlation coefficient
|
protected static Ptg |
MathFunctionCalculator.calcPi(Ptg[] operands)
PI
Returns the value of Pi
|
protected static Ptg |
FinancialCalculator.calcPmt(Ptg[] operands)
PMT Returns the periodic payment for an annuity
pmt= - (fv + (1+rate)**nper * pv) * rate / ( ( (1+rate)**nper - 1 ) *
(1+rate*type) )
if fv or type are omitted they should be treated as 0 values.
|
protected static Ptg |
MathFunctionCalculator.calcPower(Ptg[] operands)
POWER
Returns the result of a number raised to a power
|
protected static Ptg |
FinancialCalculator.calcPPMT(Ptg[] operands)
PPMT Returns the payment on the principal for an investment for a given
period PPMT(rate,per,nper,pv,fv,type) Rate is the interest rate per
period.
|
protected static Ptg |
FinancialCalculator.calcPRICE(Ptg[] operands)
PRICE Returns the price per $100 face value of a security that pays
periodic interest
PRICE(settlement,maturity,rate,yld,redemption,frequency,basis) Settlement
is the security's settlement date.
|
protected static Ptg |
FinancialCalculator.calcPRICEDISC(Ptg[] operands)
PRICEDISC Returns the price per $100 face value of a discounted security
PRICEDISC(settlement,maturity,discount,redemption,frequency,basis)
Settlement is the security's settlement date.
|
protected static Ptg |
FinancialCalculator.calcPRICEMAT(Ptg[] operands)
PRICEMAT Returns the price per $100 face value of a security that pays
interest at maturity
|
protected static Ptg |
MathFunctionCalculator.calcProduct(Ptg[] operands)
PRODUCT
Multiplies its arguments
NOTE: we gotta deal with ranges/refs/numbers here
|
protected static Ptg |
TextCalculator.calcProper(Ptg[] operands)
PROPER
Capitalizes the first letter in each word of a text value
|
protected static Ptg |
FinancialCalculator.calcPV(Ptg[] operands)
PV(rate,nper,pmt,fv,type) Returns the present value of an investment Rate
is the interest rate per period.
|
protected static Ptg |
StatisticalCalculator.calcQuartile(Ptg[] operands)
QUARTILE
Returns the quartile of a data set
|
protected static Ptg |
MathFunctionCalculator.calcQuotient(Ptg[] operands)
QUOTIENT
Returns the integer portion of a division
|
protected static Ptg |
MathFunctionCalculator.calcRadians(Ptg[] operands)
RADIANS
Converts degrees to radians
|
protected static Ptg |
MathFunctionCalculator.calcRand(Ptg[] operands)
RAND
Returns a random number between 0 and 1
|
protected static Ptg |
MathFunctionCalculator.calcRandBetween(Ptg[] operands)
RANDBETWEEN
Returns a random number between the numbers you specify
|
protected static Ptg |
StatisticalCalculator.calcRank(Ptg[] operands)
RANK
Returns the rank of a number in a list of numbers
RANK(number,ref,order)
Number is the number whose rank you want to find.
|
protected static Ptg |
FinancialCalculator.calcRate(Ptg[] operands)
RATE Returns the interest rate per period of an annuity.
|
protected static Ptg |
FinancialCalculator.calcReceived(Ptg[] operands)
RECEIVED Returns the amount received at maturity for a fully invested
security
|
protected static Ptg |
TextCalculator.calcReplace(Ptg[] operands)
REPLACE
Replaces characters within text
|
protected static Ptg |
TextCalculator.calcRept(Ptg[] operands)
REPT
Repeats text a given number of times
|
protected static Ptg |
TextCalculator.calcRight(Ptg[] operands)
RIGHT
Returns the rightmost characters from a text value
|
protected static Ptg |
MathFunctionCalculator.calcRoman(Ptg[] operands)
ROMAN
Converts an Arabic numeral to Roman, as text
This one is a trip!
|
protected static Ptg |
MathFunctionCalculator.calcRound(Ptg[] operands)
ROUND
Rounds a number to a specified number of digits
This one is kind of nasty.
|
protected static Ptg |
MathFunctionCalculator.calcRoundDown(Ptg[] operands)
ROUNDDOWN
Rounds a number down, toward zero.
|
protected static Ptg |
MathFunctionCalculator.calcRoundUp(Ptg[] operands)
ROUNDUP
Rounds a number up, away from zero
|
protected static Ptg |
LookupReferenceCalculator.calcRow(Ptg[] operands)
ROW
Returns the row number of a reference
Note this is 1 based, ie Row1 = 1.
|
protected static Ptg |
LookupReferenceCalculator.calcRows(Ptg[] operands)
ROWS
Returns the number of rows in a reference
ROWS(array)
Array is an array, an array formula, or a reference to a range of cells for which you want the number of rows.
|
protected static Ptg |
StatisticalCalculator.calcRsq(Ptg[] operands)
RSQ
Returns the square of the Pearson product moment correlatin coefficient
|
protected static Ptg |
TextCalculator.calcSearch(Ptg[] operands)
SEARCH
Finds one text value within another (not case-sensitive)
|
protected static Ptg |
TextCalculator.calcSearchB(Ptg[] operands)
SEARCHB counts each double-byte character as 2 when you have enabled the editing of a
language that supports DBCS and then set it as the default language.
|
protected static Ptg |
DateTimeCalculator.calcSecond(Ptg[] operands)
SECOND
Converts a serial number to a second
|
protected static Ptg |
MathFunctionCalculator.calcSign(Ptg[] operands)
SIGN
Returns the sign of a number
return 1 if positive, -1 if negative, or 0 if 0;
|
protected static Ptg |
MathFunctionCalculator.calcSin(Ptg[] operands)
SIN
Returns the sine of the given angle
|
protected static Ptg |
MathFunctionCalculator.calcSinh(Ptg[] operands)
SINH
Returns the hyperbolic sine of a number
|
protected static Ptg |
FinancialCalculator.calcSLN(Ptg[] operands)
SLN Returns the straight-line depreciation of an asset for one period
SLN(cost,salvage,life) Cost is the initial cost of the asset.
|
protected static Ptg |
StatisticalCalculator.calcSlope(Ptg[] operands)
SLOPE
Returns the slope of the linear regression line
|
protected static Ptg |
StatisticalCalculator.calcSmall(Ptg[] operands)
SMALL
Returns the k-th smallest value in a data set
SMALL(array,k)
Array is an array or range of numerical data for which you want to determine the k-th smallest value.
|
protected static Ptg |
MathFunctionCalculator.calcSqrt(Ptg[] operands)
SQRT
Returns a positive square root
|
protected static Ptg |
MathFunctionCalculator.calcSqrtPi(Ptg[] operands)
SQRTPI
Returns the square root of (number * PI)
|
protected static Ptg |
StatisticalCalculator.calcStdev(Ptg[] operands)
STDEV(number1,number2, ...)
Number1,number2, ...
|
static Ptg |
StatisticalCalculator.calcSteyx(Ptg[] operands)
STEYX
Returns the standard error of the predicted y-value for each x in the regression
|
protected static Ptg |
TextCalculator.calcSubstitute(Ptg[] operands)
SUBSTITUTE
Substitutes new text for old text in a text string
|
protected static Ptg |
MathFunctionCalculator.calcSum(Ptg[] operands)
SUM
Adds all the numbers in a range of cells.
|
protected static Ptg |
MathFunctionCalculator.calcSumif(Ptg[] operands)
SUMIF
Adds the cells specified by a given criteria
You use the SUMIF function to sum the values in a range that meet criteria that you specify.
|
protected static Ptg |
MathFunctionCalculator.calcSumIfS(Ptg[] operands)
SUMIFS
Adds the cells in a range (range: Two or more cells on a sheet.
|
protected static Ptg |
MathFunctionCalculator.calcSumproduct(Ptg[] operands)
SUMPRODUCT
Returns the sum of the products of corresponding array components
|
protected static Ptg |
FinancialCalculator.calcSYD(Ptg[] operands)
SYD Returns the sum-of-years' digits depreciation of an asset for a
specified period SYD(cost,salvage,life,per) Cost is the initial cost of
the asset.
|
protected static Ptg |
TextCalculator.calcT(Ptg[] operands)
T
According to documentation converts its arguments to text -
not really though, it just returns value if they are text
|
protected static Ptg |
MathFunctionCalculator.calcTan(Ptg[] operands)
TAN
Returns the tangent of a number
|
protected static Ptg |
MathFunctionCalculator.calcTanh(Ptg[] operands)
TANH
Returns the hyperbolic tangent of a number
|
protected static Ptg |
FinancialCalculator.calcTBillEq(Ptg[] operands)
TBILLEQ Returns the bond-equivalent yield for a Treasury bill Settlement
is the Treasury bill's settlement date.
|
protected static Ptg |
FinancialCalculator.calcTBillPrice(Ptg[] operands)
TBILLPRICE Returns the price per $100 face value for a Treasury bill
|
protected static Ptg |
FinancialCalculator.calcTBillYield(Ptg[] operands)
TBILLYIELD Returns the yield for a Treasury bill
VDB Returns the depreciation of an asset for a specified or partial
period using a declining balance method
|
protected static Ptg |
TextCalculator.calcText(Ptg[] operands)
TEXT
Formats a number and converts it to text
Converts a value to text in a specific number format.
|
protected static Ptg |
DateTimeCalculator.calcTime(Ptg[] operands)
TIME
Returns the serial number of a particular time
takes 3 arguments, hour, minute, second;
|
protected static Ptg |
DateTimeCalculator.calcTimevalue(Ptg[] operands)
TIMEVALUE
Converts a time in the form of text to a serial number
Returns the decimal number of the time represented by a text string.
|
protected static Ptg |
DateTimeCalculator.calcToday(Ptg[] operands)
TODAY
Returns the serial number of today's date
|
protected static Ptg |
LookupReferenceCalculator.calcTranspose(Ptg[] operands)
TRANSPOSE
Returns the transpose of an array
The TRANSPOSE function returns a vertical range of cells as a horizontal range, or vice versa.
|
protected static Ptg |
StatisticalCalculator.calcTrend(Ptg[] operands)
TREND
Returns values along a linear trend
|
protected static Ptg |
TextCalculator.calcTrim(Ptg[] operands)
TRIM
According to documentation Trim() removes leading and trailing spaces from the cell value.
|
protected static Ptg |
LogicalCalculator.calcTrue(Ptg[] operands)
Returns the logical function true
|
protected static Ptg |
MathFunctionCalculator.calcTrunc(Ptg[] operands)
TRUNC
Truncates a number to an integer
|
protected static Ptg |
InformationCalculator.calcType(Ptg[] operands)
TYPE
Returns a number indicating the data type of a value
Value can be any Microsoft Excel value, such as a number, text, logical value, and so on.
|
static Ptg |
FunctionHandler.calculateFunction(Ptg[] ptgs) |
Ptg |
PtgFuncVar.calculatePtg(Ptg[] pthings) |
Ptg |
PtgGE.calculatePtg(Ptg[] form) |
Ptg |
PtgAdd.calculatePtg(Ptg[] form) |
Ptg |
PtgLT.calculatePtg(Ptg[] form) |
Ptg |
GenericPtg.calculatePtg(Ptg[] parsething)
return a Ptg consisting of the calculated values
of the ptg's passed in.
|
Ptg |
PtgExp.calculatePtg(Ptg[] parsething) |
Ptg |
PtgEQ.calculatePtg(Ptg[] form) |
Ptg |
Ptg.calculatePtg(Ptg[] parsething)
return a Ptg consisting of the calculated values
of the ptg's passed in.
|
Ptg |
PtgDiv.calculatePtg(Ptg[] form) |
Ptg |
PtgUnion.calculatePtg(Ptg[] form)
Union = All items from A and B, shared and not shared.
|
Ptg |
PtgUMinus.calculatePtg(Ptg[] form)
Operator specific calculate method, this one returns a single value sent to it.
|
Ptg |
PtgFunc.calculatePtg(Ptg[] pthings) |
Ptg |
PtgMlt.calculatePtg(Ptg[] form) |
Ptg |
PtgPercent.calculatePtg(Ptg[] form) |
Ptg |
PtgUPlus.calculatePtg(Ptg[] form) |
Ptg |
PtgAtr.calculatePtg(Ptg[] pthing) |
Ptg |
PtgLE.calculatePtg(Ptg[] form) |
Ptg |
PtgIsect.calculatePtg(Ptg[] form)
Intersection = Where A and B are shared.
|
Ptg |
PtgRange.calculatePtg(Ptg[] form)
The RANGE operator (:)
Returns the minimal rectangular range that contains both parameters.
|
Ptg |
PtgNE.calculatePtg(Ptg[] form) |
Ptg |
PtgGT.calculatePtg(Ptg[] form) |
Ptg |
PtgSub.calculatePtg(Ptg[] form)
Operator specific calculate method, this one subtracts one value from another
|
Ptg |
PtgConcat.calculatePtg(Ptg[] form)
Operator specific calculate method, this Concatenates two values
|
Ptg |
PtgPower.calculatePtg(Ptg[] form) |
static Ptg |
FunctionHandler.calculatePtgFunc(Ptg funk,
int funkId,
Ptg[] operands) |
static Ptg |
FunctionHandler.calculatePtgFunc(Ptg funk,
int funkId,
Ptg[] operands) |
static Ptg |
FunctionHandler.calculatePtgFuncVar(Ptg funk,
int funkId,
Ptg[] operands)
Keep the calculation of ptgfunc & ptgfuncvar seperate in case any differences show up
|
static Ptg |
FunctionHandler.calculatePtgFuncVar(Ptg funk,
int funkId,
Ptg[] operands)
Keep the calculation of ptgfunc & ptgfuncvar seperate in case any differences show up
|
protected static Ptg |
TextCalculator.calcUpper(Ptg[] operands)
UPPER
Converts text to uppercase
|
protected static Ptg |
TextCalculator.calcValue(Ptg[] operands)
VALUE
Converts a text argument to a number
|
protected static Ptg |
StatisticalCalculator.calcVar(Ptg[] operands)
VAR
Estimates variance based on a sample
|
protected static Ptg |
StatisticalCalculator.calcVarp(Ptg[] operands)
VARp
Estimates variance based on a full population
|
protected static Ptg |
FinancialCalculator.calcVDB(Ptg[] operands)
VDB
Returns the depreciation of an asset for any period you specify,
including partial periods, using the double-declining balance method or
some other method you specify.
|
protected static Ptg |
LookupReferenceCalculator.calcVlookup(Ptg[] operands)
VLOOKUP
Looks in the first column of an array and moves across the row to return the value of a cell
Searches for a value in the leftmost column of a table, and then returns a value in the same row
from a column you specify in the table.
|
protected static Ptg |
DateTimeCalculator.calcWeekday(Ptg[] operands)
WEEKDAY Converts a serial number to a day of the week
|
protected static Ptg |
DateTimeCalculator.calcWeeknum(Ptg[] operands)
WEEKNUM
Returns a number that indicates where the week falls numerically within a year.
|
protected static Ptg |
DateTimeCalculator.calcWorkday(Ptg[] operands)
WORKDAY
Returns a number that represents a date that is the indicated number of working days before or after a date (the starting date).
|
protected static Ptg |
FinancialCalculator.calcXIRR(Ptg[] operands)
XIRR Returns the internal rate of return for a schedule of cash flows
that is not necessarily periodic
|
protected static Ptg |
FinancialCalculator.calcXNPV(Ptg[] operands)
XNPV Returns the net present value for a schedule of cash flows that is
not necessarily periodic
|
protected static Ptg |
DateTimeCalculator.calcYear(Ptg[] operands)
YEAR
Converts a serial number to a year
|
protected static Ptg |
DateTimeCalculator.calcYearFrac(Ptg[] operands)
YEARFRAC function
Calculates the fraction of the year represented by the number of whole days between two dates (the start_date and the end_date).
|
protected static Ptg |
FinancialCalculator.calcYIELD(Ptg[] operands)
YIELD Returns the yield on a security that pays periodic interest
YIELD(settlement,maturity,rate,pr,redemption,frequency,basis) Settlement
is the security's settlement date.
|
protected static Ptg |
FinancialCalculator.calcYieldDisc(Ptg[] operands)
YIELDDISC Returns the annual yield for a discounted security.
|
protected static Ptg |
FinancialCalculator.calcYieldMat(Ptg[] operands)
YIELDMAT Returns the annual yield of a security that pays interest at
maturity
|
protected static Ptg[] |
PtgCalculator.getAllComponents(Ptg operand) |
protected static Ptg[] |
PtgCalculator.getAllComponents(Ptg[] operands) |
protected static double[][] |
PtgCalculator.getArray(Ptg operand)
return a 2-dimenional array of double values
i.e.
|
protected static boolean |
PtgCalculator.getBooleanValue(Ptg operand) |
protected static double[] |
PtgCalculator.getDoubleValueArray(Ptg operands) |
protected static double[] |
PtgCalculator.getDoubleValueArray(Ptg[] operands)
getDoubleValue is for multi-operand functions.
|
protected static long |
PtgCalculator.getLongValue(Ptg operand) |
protected static long |
PtgCalculator.getLongValue(Ptg[] operands)
getLongValue is for single-operand functions.
|
protected static long[] |
PtgCalculator.getLongValueArray(Ptg[] operands) |
static PtgArea |
Calculator.getRange(Ptg p)
takes a Reference Type Ptg and deferences and PtgNames, etc.
|
protected static String[] |
GenericPtg.getStringValuesFromPtgs(Ptg[] pthings)
returns an array of strings from ptg's sent in.
|
protected static Object[] |
GenericPtg.getValuesFromPtgs(Ptg[] pthings)
Returns an array of doubles from number-type ptg's sent in.
|
static Ptg |
FunctionHandler.parse_n_calc(Ptg function,
int functionId,
Ptg[] operands)
*
Your standard big case statement, calling methods based on what the funkid is.
|
static Ptg |
FunctionHandler.parse_n_calc(Ptg function,
int functionId,
Ptg[] operands)
*
Your standard big case statement, calling methods based on what the funkid is.
|
void |
GenericPtg.setVars(Ptg[] parr)
Operator Ptgs take other Ptgs as arguments
so we need to pass them in to get a meaningful
value.
|
void |
Ptg.setVars(Ptg[] parr)
Operator Ptgs take other Ptgs as arguments
so we need to pass them in to get a meaningful
value.
|
Copyright © 2002–2019 Starter Inc.. All rights reserved.