createNumericSequence
Implementations
Microsoft Excel: AIDCT.createNumericSequence(length, startValue, count, exclusion, tweak)
Google Sheets: Google Sheets: aidctCreateNumericSequence(length, startValue, count, exclusion, tweak)
Create a sequence of numeric strings.
This function returns an array of values.
Parameters
| Name | Type | Description |
|---|---|---|
| length | Number | Length of string to create. |
| startValue | Number | Start value of a domain of values to transform. |
| count | Number | Count of values to transform. If positive, values transformed are startValue to startValue+count-1. If negative, values transformed are startValue down to startValue+count+1. |
| exclusion | Number | String values to exclude. Valid values are 0 (no exclusions) and 1 (strings starting with 0 excluded). |
| tweak | Number | Value by which to tweak the transformation. If not provided or zero, the output is sequential. Otherwise, the output is encrypted in such a way as to appear random, masking the values used as inputs to the sequence. |
Parameters in italics are optional.