Basic sprintf support (#1965)
Implement optional format strings for valueMetadata which allows developers to use c-style sprintf formatters as desired. Fixes #1562
This commit is contained in:
committed by
Andrew Henry
parent
29de11167f
commit
013eba744d
@@ -30,6 +30,7 @@ define([
|
||||
{
|
||||
key: "sin",
|
||||
name: "Sine",
|
||||
formatString: '%0.2f',
|
||||
hints: {
|
||||
range: 1
|
||||
}
|
||||
@@ -37,6 +38,7 @@ define([
|
||||
{
|
||||
key: "cos",
|
||||
name: "Cosine",
|
||||
formatString: '%0.2f',
|
||||
hints: {
|
||||
range: 2
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user