|
META TOPICPARENT |
name="APPXRuntimeSubroutineAPI" |
.CONVERT SPLIT NUMBER |
|
This subroutine splits a number into it's whole number and fractional parts. All parameters are required, if any are missing the subroutine will CANCEL. |
|
< < | <whole_number> returns the whole number part <number_to_split> (Required). This must be PASSed with Share "Y" to return a result. |
> > | <whole_number> returns the whole number part <number_to_split> (Required). This must be PASSed with Share "Y" to return a result. For example, if <number to split> is 123.00456, this will return 123.0. |
| |
|
< < | <fractional_part> returns the fractional part <number_to_split> (Required). This must be PASSed with Share "Y" to return a result. |
> > | <fractional_part> returns the fractional part <number_to_split> (Required). This must be PASSed with Share "Y" to return a result. This should be a numeric field with sufficient decimal places to hold the fractional part of <whole number>, otherwise rounding will occur. For example, if <number to split> is 123.00456, this will return 0.00456. |
|
<number_to_split> is the number to be split. This must contain valid numeric characters (Required). |