• Subject: Re: Not keying decimal points
  • From: booth@xxxxxxxxxxxx
  • Date: Sat, 27 Jan 2001 02:32:24 GMT

What if you used the EDTWRD('    0.000-')  instead of the L edit code?
_______________________
Booth Martin
Booth@MartinVT.com
http://www.MartinVT.com
_______________________




"Neil Palmer" <neilp@dpslink.com>
Sent by: owner-midrange-l@midrange.com
01/26/2001 08:21 PM
Please respond to MIDRANGE-L

 
        To:     MIDRANGE-L@midrange.com
        cc: 
        Subject:        Re: Not keying decimal points

That's been something I've trying to figure out a better solution to for 
years.  The answer is yes, IF you are willing to accept use of the Field - 

key displaying a number like negative 25.55 as  25.5N when Field - is 
pressed.  Of course it displays correctly when you redisplay the field.
If the user wants, they can also key 25.55- (key the '-' key after 25.55) 
and press Field + or Field Exit, to avoid the 25.5N display.

REFSHIFT(Y)
EDTCDE(L)
CHECK(RB)
optionally - if you don't want negatives RANGE(0 99999.99)  or whatever 
field size is

Oh - an amount of zero would display like 
.00
and not 
0.00

My main reason for wanting this, besides making decimal point entry 
optional, was to clearly display to the user how many decimal fields they 
are allowed to enter into the field.  So a blank zero pay rate field may 
display like
.0000
which lets them know they have 4 decimal places they can use.

If anyone has a solution that eliminates the quirk with the display of 
negative numbers when using the 'Field -' key  I'd sure like to hear it.

...Neil





Gwecnal@aol.com
Sent by: owner-midrange-l@midrange.com
2001/01/25 12:30
Please respond to MIDRANGE-L

 
        To:     MIDRANGE-L@midrange.com
        cc: 
        Subject:        Not keying decimal points


Is there some magic combination of keyboard shift, edit code or word, and 
CHECK
keywords that will allow me to display a numeric like this:

   0.00         left justified with decimal,  zero amount
 12.34         left justified with decimal,  positive amount
 45.67-        left justified with decimal, negative amount

AND

allow the user to key in an amount and use field plus or field minus to 
justify
the entry 

AND

have the use of the decimal point optional?  That is, they don't have to 
key
the decimal, but they may.

The accounting people are used to not keying decimal points since they
do not have to on their calculators or older programs, but they would like
to start seeing the decimals on the entry screens.  All the above is easy
to do if you don't need editing, and I can't quite figure out how to do it 


with 
editing.

TIA, Lance




+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to 
MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: 
david@midrange.com
+---




+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.