Tags:
tag this topic
create new tag
view all tags
---+ .CONVERT SPLIT NUMBER _This subroutine splits a number into its whole number and fractional parts._ <br />%TOC% ---++ Usage: <pre> 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 </pre> ---++ Description: This subroutine splits a number into its 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. 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. 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). ---++ Comments: _Read what other users have said about this page or add your own comments._ <br />%COMMENT% -- Main.PeteBrower - 2011-08-12
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r5
<
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r5 - 2015-08-06
-
AlKalter
Home
Site map
Main web
MedicaidBilling web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback