Format Number / formatnumber (internally is.workflow.actions.format.number)

description

summary

Formats a number into text.

usage

formatnumber wfnumberformatdecimalplaces=number

arguments


wfnumberformatdecimalplaces: Stepper Number (Docs)

Default Value: 2 Allows Variables: true

	Accepts a number 
	or variable
	with a number.

source json (for developers)

{
	"ActionClass": "WFFormatNumberAction",
	"ActionKeywords": [
		"digits",
		"decimal"
	],
	"Category": "Scripting",
	"Description": {
		"DescriptionSummary": "Formats a number into text."
	},
	"IconName": "Calculator.png",
	"Input": {
		"Multiple": true,
		"Required": true,
		"Types": [
			"WFBooleanContentItem",
			"WFNumberContentItem"
		]
	},
	"Name": "Format Number",
	"Output": {
		"Multiple": true,
		"OutputName": "Formatted Number",
		"Types": [
			"NSString"
		]
	},
	"Parameters": [
		{
			"Class": "WFStepperParameter",
			"DefaultValue": 2,
			"Key": "WFNumberFormatDecimalPlaces",
			"MinimumValue": 0,
			"StepperDescription": "Decimal Places",
			"StepperNoun": "Decimal Place",
			"StepperPluralNoun": "Decimal Places"
		}
	],
	"Subcategory": "Math"
}