Javascript: TXTextControl.MergeField.numericFormat Property
Description
Specifies a string format which is applied to numeric values. Is equivalent to the MS Word field flag “\#”.
Syntax
<string> TXTextControl.MergeField.numericFormatExamples
The following example demonstrates TXTextControl.MergeField.numericFormat in a practical document-editing workflow. It specifies a string format which is applied to numeric values. Is equivalent to the MS Word field flag "\#".
function inspectNumericFormat(mergeField) {
const numericFormat = mergeField.numericFormat;
console.log("numeric format:", numericFormat);
}