Re: [RBASE-L] - Where do I set my Vars?

2023-11-09 Thread Ronald C Peterson
MacDonald Sent: Wednesday, November 8, 2023 3:02 PM To: rbase-l@googlegroups.com Subject: Re: [RBASE-L] - Where do I set my Vars? Sadly, that's about when I wrote this! It is a Universal Key attached to several other tables so I can't really change it to a double, I guess Lin On

RE: [RBASE-L] - Where do I set my Vars?

2023-11-08 Thread javier.valencia
: Wednesday, November 8, 2023 3:02 PM To: rbase-l@googlegroups.com Subject: Re: [RBASE-L] - Where do I set my Vars? Sadly, that's about when I wrote this! It is a Universal Key attached to several other tables so I can't really change it to a double, I guess Lin On Wed, Nov 8, 2

Re: [RBASE-L] - Where do I set my Vars?

2023-11-08 Thread Lin MacDonald
rpose, so that > display formatting is reliable child's play: > > SET VAR vresult DOUBLE > > SET VAR vresult TEXT > > SET VAR vresult CURRENCY > > Best, Bruce > > -- Original Message -- > From "'Karen Tellef' via RBASE-L&

Re: [RBASE-L] - Where do I set my Vars?

2023-11-08 Thread Lin MacDonald
Sadly, that's about when I wrote this! It is a Universal Key attached to several other tables so I can't really change it to a double, I guess Lin On Wed, Nov 8, 2023, at 12:43 PM, 'Karen Tellef' via RBASE-L wrote: > > > Welcome to the not-so-wonderful world of the "REAL" datatype. Long ago

Re[2]: [RBASE-L] - Where do I set my Vars?

2023-11-08 Thread Bruce Chitiea
uot;'Karen Tellef' via RBASE-L" To "rbase-l@googlegroups.com" Date 11/8/2023 12:43:13 PM Subject Re: [RBASE-L] - Where do I set my Vars? Welcome to the not-so-wonderful world of the "REAL" datatype. Long ago in DOS days that was the only datatype

Re: [RBASE-L] - Where do I set my Vars?

2023-11-08 Thread 'Karen Tellef' via RBASE-L
Welcome to the not-so-wonderful world of the "REAL" datatype.  Long ago in DOS days that was the only datatype (other than currency) that allowed decimals.  Unfortunately it isn't real accurate IMO (pun intended).  Most of us switched all those Real numbers to the DOUBLE datatype.  With Double

Re: [RBASE-L] - Where do I set my Vars?

2023-11-08 Thread lin...@gmail.com
Hello Razzak, Thank you - that is what I was looking for. I knew there was a simple solution. I am getting a strange output though: the real number stored is 104.31 000.## prints as 104.30 000.### prints as 104.309 This is an unusual situation where the number stored could possibly be

RE: [RBASE-L] - Where do I set my Vars?

2023-11-07 Thread 'Philippe Gosselin' via RBASE-L
Steve Sweeney Envoyé : mercredi 8 novembre 2023 13:36 À : rbase-l@googlegroups.com Objet : RE: [RBASE-L] - Where do I set my Vars? SET V v3 REAL = .#PI SHOW V v3 3.141593 SET V v3 = (ROUND(.v3,3)) SHOW V v3 3.142 From: rbase-l@googlegroups.com <mailto:rbase-l@googleg

RE: [RBASE-L] - Where do I set my Vars?

2023-11-07 Thread Steve Sweeney
SET V v3 REAL = .#PI SHOW V v3 3.141593 SET V v3 = (ROUND(.v3,3)) SHOW V v3 3.142 From: rbase-l@googlegroups.com On Behalf Of Lin MacDonald Sent: Tuesday, November 7, 2023 5:54 PM To: rbase-l@googlegroups.com Subject: [RBASE-L] - Where do I set my Vars? This will sound silly, but

[RBASE-L] - Where do I set my Vars?

2023-11-07 Thread Lin MacDonald
This will sound silly, but I am working on a system that I wrote several years ago, but can't remember most of what I wrote! I have a report that prints a Var (type: Real) It is now printing it with 7 places after the decimal point. I need it to print a max of 3 places. Where do I set the n