gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[open-cobol-list] From screen to calculation.


From: John Culleton
Subject: [open-cobol-list] From screen to calculation.
Date: Fri, 6 Feb 2015 09:41:53 -0500

Many programs require data entry in the form of
dollars and cents, which data is later used in
calculations. The form in which dollars and cents 
is used in calculations is something like
-9999v99. But the form in which most people will
key it is 9999.99 which cannot be used in
calculations. There are many possible solutions.
One can ask the user to key in 999999 and then
immediately multiply by .01; the two fields
(dollars and cents) can actually be two fields
next to each other, or some other solution I
haven't thought of and so on. 

What is your preferred method? 

-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
Updated PDF e-book: "Create Book Covers with
Scribus 1.4.5" coming soon at
http://www.booklocker.com/!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]