Extract sign
XML
<math:sign var="var">
float
</math:sign>
<math:sign /> extracts the sign of a value.
Attributes
| Name | Type | Description | Defined By |
|---|---|---|---|
| var | var | Result variable name | math:sign |
Results
| Binding | Type | Predicate |
|---|---|---|
| var | int | N/A |
Examples
XML
<output>
<math:sign>-13.74</math:sign>
</output>
<!-- -1 -->