Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
.CONVERT SPLIT NUMBER | ||||||||
Line: 17 to 17 | ||||||||
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. | ||||||||
Changed: | ||||||||
< < | <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. | |||||||
Changed: | ||||||||
< < | <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). |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
.CONVERT SPLIT NUMBER | ||||||||
Line: 17 to 17 | ||||||||
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. | ||||||||
Changed: | ||||||||
< < | <whole_number> is 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. | |||||||
Changed: | ||||||||
< < | <fractional_part> is 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. | |||||||
<number_to_split> is the number to be split. This must contain valid numeric characters (Required). |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
.CONVERT SPLIT NUMBER | ||||||||
Changed: | ||||||||
< < | This subroutine is called to split a number into it's whole number and fractional parts. | |||||||
> > | This subroutine splits a number into it's whole number and fractional parts. | |||||||
Usage: | ||||||||
Line: 15 to 15 | ||||||||
Description: | ||||||||
Changed: | ||||||||
< < | This subroutine must be passed a valid number to convert. | |||||||
> > | 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. | |||||||
Changed: | ||||||||
< < | <whole_number> identifies the field to return the whole number part of the result back into. Passing this parameter is required. | |||||||
> > | <whole_number> is the whole number part <number_to_split> (Required). This must be PASSed with Share "Y" to return a result. | |||||||
Changed: | ||||||||
< < | <fractional_part> identifies the field to return the fractional part of the result back into. Passing this parameter is required. | |||||||
> > | <fractional_part> is the fractional part <number_to_split> (Required). This must be PASSed with Share "Y" to return a result. | |||||||
Changed: | ||||||||
< < | <number_to_split> Identifies the field or literal value that represents the number to be split. This must contain valid numeric characters. Passing this parameter is required. | |||||||
> > | <number_to_split> is the number to be split. This must contain valid numeric characters (Required). | |||||||
Deleted: | ||||||||
< < | This subroutine sets a result value in the corresponding results Token field. | |||||||
Comments:Read what other users have said about this page or add your own comments. |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
.CONVERT SPLIT NUMBERThis subroutine is called to split a number into it's whole number and fractional parts.Usage:PASS <whole_number> FIELD SHARE? Y PASS <fractional_part> FIELD SHARE? Y PASS <number_to_split> FIELD SHARE? N GOSUB --- .CONVERT SPLIT NUMBER * check for errors IF --- .CONVERT SPLIT NUMBER NE Description:This subroutine must be passed a valid number to convert. <whole_number> identifies the field to return the whole number part of the result back into. Passing this parameter is required. <fractional_part> identifies the field to return the fractional part of the result back into. Passing this parameter is required. <number_to_split> Identifies the field or literal value that represents the number to be split. This must contain valid numeric characters. Passing this parameter is required. This subroutine sets a result value in the corresponding results Token field.Comments:Read what other users have said about this page or add your own comments.-- PeteBrower - 2011-08-12 |