-
Notifications
You must be signed in to change notification settings - Fork 633
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DYN-5965: introduce new string from nodes that accept numeric format …
…specifiers (#14369) passed here: https://master-5.jenkins.autodesk.com/job/Dynamo/job/DynamoSelfServe/job/pullRequestValidation/16776/ merging in for testing
- Loading branch information
1 parent
5278181
commit 7ec4fc7
Showing
44 changed files
with
2,448 additions
and
88 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
doc/distrib/NodeHelpFiles/CoreNodeModels.FormattedStringFromArray.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
## In Depth | ||
This node will convert an oject to a string. The second input `format specifier` controls how numeric inputs are converted to their string representations. | ||
This `format specifier` inputs should be one of the c# standard format numeric specifiers. | ||
|
||
format specifiers should be in the form: | ||
`<specifier><precision>` for example F1 | ||
|
||
Some commonly used format specifiers are: | ||
``` | ||
G : general formatting G 1000.0 -> "1000" | ||
F : fixed point notation F4 1000.0 -> "1000.0000" | ||
N : number N2 1000 -> "1,000.00" | ||
``` | ||
|
||
The default for this node is `G`, which will output a compact, but variable representation. | ||
|
||
[see the microsoft documentation for more detailed information.](https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings#standard-format-specifiers) |
17 changes: 17 additions & 0 deletions
17
doc/distrib/NodeHelpFiles/CoreNodeModels.FormattedStringFromObject.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
## In Depth | ||
This node will convert an oject to a string. The second input `format specifier` controls how numeric inputs are converted to their string representations. | ||
This `format specifier` inputs should be one of the c# standard format numeric specifiers. | ||
|
||
format specifiers should be in the form: | ||
`<specifier><precision>` for example F1 | ||
|
||
Some commonly used format specifiers are: | ||
``` | ||
G : general formatting G 1000.0 -> "1000" | ||
F : fixed point notation F4 1000.0 -> "1000.0000" | ||
N : number N2 1000 -> "1,000.00" | ||
``` | ||
|
||
The default for this node is `G`, which will output a compact, but variable representation. | ||
|
||
[see the microsoft documentation for more detailed information.](https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings#standard-format-specifiers) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.