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:
  
 
#yiv6516478027 #yiv6516478027 -- _filtered {} _filtered {} _filtered {} 
#yiv6516478027 #yiv6516478027 p.yiv6516478027MsoNormal, #yiv6516478027 
li.yiv6516478027MsoNormal, #yiv6516478027 div.yiv6516478027MsoNormal 
{margin:0in;margin-bottom:.0001pt;font-size:11.0pt;} #yiv6516478027 a:link, 
#yiv6516478027 span.yiv6516478027MsoHyperlink 
{color:blue;text-decoration:underline;} #yiv6516478027 a:visited, 
#yiv6516478027 span.yiv6516478027MsoHyperlinkFollowed 
{color:purple;text-decoration:underline;} #yiv6516478027 
p.yiv6516478027MsoAcetate, #yiv6516478027 li.yiv6516478027MsoAcetate, 
#yiv6516478027 div.yiv6516478027MsoAcetate 
{margin:0in;margin-bottom:.0001pt;font-size:8.0pt;} #yiv6516478027 
span.yiv6516478027EmailStyle17 
{font-family:New;color:windowtext;font-weight:normal;font-style:normal;} 
#yiv6516478027 span.yiv6516478027BalloonTextChar {} #yiv6516478027 
.yiv6516478027MsoChpDefault {} _filtered {} #yiv6516478027 
div.yiv6516478027WordSection1 {} #yiv6516478027  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      -- 
 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/CH2PR02MB7047ED5091A4C04CE8BE2AF4A0F60%40CH2PR02MB7047.namprd02.prod.outlook.com.
 
 -- 
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/c303f55c-bc05-312b-8d51-10c64eec8b42%40wi.rr.com.

-- 
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/553122577.7137109.1584458262446%40mail.yahoo.com.

Reply via email to