All capital properties are read only constants.
Property | Description | Example | Result |
---|---|---|---|
calcObj | A JavaScript object. Usually assigned when a calculator is loaded as a custom object for that calculator. See the Percentages and Ratios calculators for examples. | ||
calcData | An array of 'calcObj' objects. Used to STO/RCL calcObj's. | ||
calcObjRestored | A boolean value to indicate the calcObject has been restored from the History Detail Restore button. | if (c1.calcObjRestored){ var tmpObj = Object.assign({}, c1.calcObj); } |
|
calcId | The ID of the current calculator. It is a UUID as a string. It is typically used to save and retrieve the calculator object for a calculator using the JSVar functions like varSave() and varLoad(). | ||
fvDueBeg, fvCompound | Boolean for the financial beginning or end mode and odd periods. | ||
lista, listb, listc, listd, liste, listf, listx, listy |
Arrays used for statistics. listx and listy are the default for 1 and 2 list stats calculators. listf is the default for cash flows. | ||
exprna, exprnb, exprnc, exprnd, exprne, exprnx | String properties to store algebraic expressions. These are
typically used for plotting multiple expressions. exprnx is the
current expression. |
||
degreeMode | Boolean for trigonometric degree or radian mode. Typically used by the c1 trig functions. | ||
rgx, rgy,rgz,rgt, lastrgx | Number data type for the automatic stack. | ||
fvBasis fvCost, fvCoupon, fvDaysDiff, fvDbFactor, fvEndDate, fvFrequency, fvFv, fvLife, fvMDate, fvMo1, fvNper, fvPerRate, fvPmt, fvPrice, fvPv, fvRate, fvRnvstRate, fvSalvage, fvSDate, fvStartDate, fvTaxRate, fvYield, | Number financial properties. These are used by the financial calculators (Focused Calculators, Form Calculators, and the reproductions) to share data. | ||
fvPyr, fvCyr | Periods per year and compounding periods per year. These are converted to integers internally. | ||
fvPer1, fvPer2 | Period 1 and 2 used in amortization calculations. These are converted to integers internally. | ||
isRepeatingFn | Boolean set to true by the CALC 1 app to indicate a function
used by a Function Calculator is being called repeatedly for
solving or plotting. Typically used in a function that uses History Functions methods so the history function will not be recalled repeatedly. |
if(!c1.isRepeatingFn){ c1.histKeyValue('', x, 'Some val');} |
|
regArith | Used for register arithmetic. Values of RANONE, RAADD, RAMUL, RADIV. | See any STO key for an example. | |
a-w | Number data type for the user storage values (STO & RCL). | ||
DB30360 | Financial methods constant for 30 days per month, 360 days per year, c1 methods. | db30360 | 0 |
DB30E360 | Financial methods constant for 30 days per month, 360 days per year, european method. | db30e360 | 4 |
DBACT360 | Financial methods constant for actual days per month, 360 days per year. | dbact360 | 2 |
DBACT365 | Financial methods constant for actual days per month, 365 days per year. | dbact365 | 3 |
DBACTACT | Financial methods constant for actual days per month, actual days per year. | dbactact | 1 |
EURO | Method constant for days360 to select the European method. | euro | 1 |
NASD | Method constant for days360 to select the NASD method. | nasd | 0 |