Office Tables
6 nodes
On this page 6
Amortization Schedule
FunctionA loan's repayment schedule, year by year: what is paid, how much of it is interest, how much repays the loan, and what is still owed.
Signature
AmortizationSchedule -> Object[,]
principal: Number
annualRate: Number
years: Numberobject[,] AmortizationSchedule(
double principal,
double annualRate,
double years)Parameters
| name | type | default | description |
|---|---|---|---|
| principal | Number | — | How much is borrowed. |
| annualRate | Number | — | The yearly interest rate, as a fraction: 0.05 for 5%. |
| years | Number | — | How many years it is repaid over, in equal monthly payments. |
Returns
| result | Object[,] |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Office Tables
- Package
- Methodox Office
Columns
FunctionA table from up to four columns of equal or unequal length, under a header row.
Signature
Columns -> Object[,]
headers: Text
column1: Array
column2: Array
column3: Array
column4: Arrayobject[,] Columns(
string headers,
Array column1,
Array column2,
Array column3,
Array column4)Parameters
| name | type | default | description |
|---|---|---|---|
| headers | Text | — | The column headings, separated by commas; none when empty. |
| column1 | Array | — | The first column's values. |
| column2 | Array | — | The second column's values, or nothing. |
| column3 | Array | — | The third column's values, or nothing. |
| column4 | Array | — | The fourth column's values, or nothing. |
Returns
| result | Object[,] |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Office Tables
- Package
- Methodox Office
Format Times
FunctionEach date or time in a list, such as a web service's 2026-10-28T21:00, written as text in a format: HH:mm for the hour, ddd for the day's short name, d MMM for the date.
Signature
FormatTimes(values: Array, format: Text) -> Text Array
string[] FormatTimes(Array values, string format = "HH:mm")
Parameters
| name | type | default | description |
|---|---|---|---|
| values | Array | — | Dates and times as ISO 8601 text, or as seconds since 1970 (a Unix time). |
| format | Text | HH:mm | A .NET date and time format. |
Returns
| result | Text Array |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Office Tables
- Package
- Methodox Office
Number Column
FunctionOne column of a table as numbers, skipping a header row that is text.
Signature
NumberColumn(table: Object[,], column: Number) -> Number Array
double[] NumberColumn(object[,] table, double column)
Parameters
| name | type | default | description |
|---|---|---|---|
| table | Object[,] | — | The table: a range a Function was given, or one another node made. |
| column | Number | — | The column, counting from 1. |
Returns
| result | Number Array |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Office Tables
- Package
- Methodox Office
Row Count
FunctionHow many rows a table has, its header included.
Signature
RowCount(table: Object[,]) -> Number
double RowCount(object[,] table)
Parameters
| name | type | default | description |
|---|---|---|---|
| table | Object[,] | — | The table. |
Returns
| result | Number |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Office Tables
- Package
- Methodox Office
Sequence
FunctionA column of numbers: Count of them from Start, Step apart.
Signature
Sequence -> Number Array
start: Number
count: Number
step: Numberdouble[] Sequence(double start, double count, double step = 1)
Parameters
| name | type | default | description |
|---|---|---|---|
| start | Number | — | The first number. |
| count | Number | — | How many. |
| step | Number | 1 | The difference between neighbours. |
Returns
| result | Number Array |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Office Tables
- Package
- Methodox Office