|
Syntax |
|
|
|---|---|---|
|
Semantics |
Returns the internal lexical representation of a Float. |
|
|
Substitutables |
|
Can be any variable or object attribute having the type Float. |
|
Examples |
|
|
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 shows different possibilities for type conversions between Float, Integer, String, and Boolean types in Scheer PAS Designer.