Tanks!
I just trace thru your MOD/PUASE reoutine - cool!
Never done that before, good idea!
D

On 3/17/2020 10:17 AM, 'Karen Tellef' via RBASE-L wrote:
Darn isn't that elegant!!!!

Karen




-----Original Message-----
From: Doug Hamilton <[email protected]>
To: R:Base List <[email protected]>
Sent: Tue, Mar 17, 2020 9:41 am
Subject: Re: [RBASE-L] - capture just the decimal

SET VAR vNumReal REAL = 3.14159

SET VAR vNumDecimal REAL = (.vNumReal - (AINT(.vNumReal)))

SHOW VAR vNum%

RETURN

Doug

On 3/17/2020 9:03 AM, Jim Belisle wrote:
What is the function or combination of functions that will give me just to decimal portion of a numeric number?
I want to use the decimal portion to determine my next action.
James Belisle
*Making Information Systems People Friendly Since 1990*
cid:[email protected]
--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
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] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/CH2PR02MB7047ED5091A4C04CE8BE2AF4A0F60%40CH2PR02MB7047.namprd02.prod.outlook.com <https://groups.google.com/d/msgid/rbase-l/CH2PR02MB7047ED5091A4C04CE8BE2AF4A0F60%40CH2PR02MB7047.namprd02.prod.outlook.com?utm_medium=email&utm_source=footer>.

--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
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] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/c303f55c-bc05-312b-8d51-10c64eec8b42%40wi.rr.com <https://groups.google.com/d/msgid/rbase-l/c303f55c-bc05-312b-8d51-10c64eec8b42%40wi.rr.com?utm_medium=email&utm_source=footer>.
--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
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] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/553122577.7137109.1584458262446%40mail.yahoo.com <https://groups.google.com/d/msgid/rbase-l/553122577.7137109.1584458262446%40mail.yahoo.com?utm_medium=email&utm_source=footer>.

--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/0a7c6a26-88aa-30a0-5bd5-6da90ffb624f%40wi.rr.com.

Reply via email to