convertToString() Operation for Float Values
Syntax |
| |
---|---|---|
Semantics |
| |
Substitutables |
| Can be any variable or object attribute having the type Float. |
Examples |
NONE
|
Some Examples
Source Float | Target String | Remark |
---|---|---|
123.45 | “123.45” | |
-123.45 | “-123.45” | |
1.0/6.0 | “0.16666666666666666666666666666666666666666666666667” | The xUML Runtime has an internal format string for converting Float values to String. The number is rounded after 50 decimals. |
ActionScript_TypeConversions_Example
Click here to download a simple example model that different possibilities for type conversions between Float, Integer, String, and Boolean types in Scheer PAS Designer.