53 lines
1.1 KiB
Markdown
53 lines
1.1 KiB
Markdown
---
|
|
type: NodeDoc
|
|
title: Set Text With Number
|
|
description: Auto-generated node documentation.
|
|
tags: [nodes, docs]
|
|
---
|
|
|
|
# Set Text With Number
|
|
|
|
* **Node ID:** `Sage_SetTextWithNum`
|
|
* **Category:** `Sage Utils/text/helper`
|
|
|
|
Sets some text and adds a number at the end.
|
|
|
|
## Inputs
|
|
|
|
### `str` — `STRING`
|
|
- **Name:** `str`
|
|
- **Description:** Text to format with a number at the end.
|
|
|
|
### `prefix` — `STRING` (optional)
|
|
- **Name:** `prefix`
|
|
- **Description:** Text to prepend before the main string.
|
|
|
|
### `suffix` — `STRING` (optional)
|
|
- **Name:** `suffix`
|
|
- **Description:** Text to append after the main string.
|
|
|
|
### `num_type` — `COMFY_DYNAMICCOMBO_V3`
|
|
- **Description:** Choose whether the appended number should be treated as float or int.
|
|
|
|
### `num` — `FLOAT`
|
|
- **Name:** `num`
|
|
- **Description:** Float number to append to the text.
|
|
|
|
### `num` — `INT`
|
|
- **Name:** `num`
|
|
- **Description:** Integer number to append to the text.
|
|
|
|
|
|
## Outputs
|
|
|
|
### `str_out` — `STRING`
|
|
- **Name:** `str`
|
|
- **Description:** Output value for str_out.
|
|
|
|
|
|
## Notes
|
|
|
|
|
|
|
|
Generated from the node schema.
|