I tried this a while ago and it didn't work as I expected, so I just now tried 
it again when I saw this post.
For me, in version X, it truncates even if the variable is predefined as 
double.  In Dan's example, it
gives me just 25.    I think that was the problem I had before.

Karen

 

 

 

-----Original Message-----
From: Dan Goldberg <[email protected]>
To: rbase-l <[email protected]>
Sent: Wed, Jun 15, 2016 1:05 pm
Subject: RE: [RBASE-L] - Dialog format mask numbers and decimals



Thx buddy. It sort of works but looks weird with the spaces.
 

 
Dan Goldberg
 

From: [email protected] [mailto:[email protected]]On Behalf Of 
Buddy Walker
Sent: Wednesday, June 15, 2016 10:58 AM
To: [email protected]
Subject: RE: [RBASE-L] - Dialog format mask numbers and decimals

 
Dan
  Try something like this
 
SET VAR v1 DOUBLE
DIALOG 'Enter your number here||999999.00' v1=10 vEndKey 1
 
Buddy
 
 
 

From: [email protected] [mailto:[email protected]]On Behalf Of 
Dan Goldberg
Sent: Wednesday, June 15, 2016 1:46 PM
To: [email protected]
Subject: [RBASE-L] - Dialog format mask numbers and decimals

 
I need to have a dialog box that only allows numbers and the decimal.
 
I am thinking the format option will work but am confused on if it will.
 
Has anybody done this or have any ideas?
 
TIA
 
Dan Goldberg 
 
 
 
--
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
[email protected].
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
[email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to