<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">As per Jose, this works as well;<br>
<br>
<font face="Courier New, Courier, monospace">@keyR If:<br>
Then: xx(10,.)<br>
3 ------- - - - - - - - - -<br>
If:<br>
Then: input popup ("22","") xx "Enter>"<br>
4 ------- - - - - - - - - -<br>
If: FRAC(xx) le ".50"<br>
Then: xx=FLOOR(xx)<br>
5 ------- - - - - - - - - -<br>
If: FRAC(xx) gt ".50"<br>
Then: xx=CEIL(xx)<br>
</font> <font face="Courier New, Courier, monospace"><font
face="Courier New, Courier, monospace">5 ------- - -
- - - - - - -<br>
If: <br>
Then: msgbox xx</font></font><br>
<br>
<br>
<br>
Richard<br>
<br>
Thanks Jose.<br>
<br>
<br>
<br>
On 3/8/2018 4:26 PM, Richard D. Williams via Filepro-list wrote:<br>
</div>
<blockquote type="cite"
cite="mid:215ecd36-fa33-3745-70a1-a55314783514@appgrp.net">You
guys are amazing.
<br>
<br>
I don't think anyone just answered his simply question.
<br>
<br>
Hey Wayne,
<br>
<br>
This is it.
<br>
<br>
Let's say xx is 1456.49. You want it to be 1456.00.
<br>
<br>
if : mid(xx,"8","3") lt ".51"
<br>
then : xx=""{mid(xx,"1","7")
<br>
<br>
Now let's say xx(10,.2) is equal to 1456.56. You want it to be
1457.00.
<br>
<br>
if : mid(xx,"8","3") ge ".51"
<br>
then : xx=""{mid(xx,"1","7")+"1"
<br>
<br>
That should do it for you. The order of these statements is
important.
<br>
Test for the less than first.
<br>
<br>
This took me 10 minutes to write the code, test the code, and give
an answer.
<br>
And I don't think Jose would even consider holding "Ken's
jockstrap".
<br>
<br>
Richard D. Williams
<br>
<br>
Here is the code:
<br>
<br>
::end:
<br>
@keyR::xx(10,.):
<br>
::input popup ("22","") xx "Enter>":
<br>
:mid(xx,"8","3") lt ".51":xx=""{mid(xx,"1","7"):
<br>
:mid(xx,"8","3") ge ".51":xx=""{mid(xx,"1","7")+"1":
<br>
::msgbox xx:
<br>
<br>
On 3/6/2018 8:15 PM, Jose Lerebours via Filepro-list wrote:
<br>
<blockquote type="cite">Not sure what you're talking about Mark,
but my stab was self inflicted, I was the one waring the
blinders and opted to drown in a drop of water by over thinking
the post ... refreshing was Ken's suggestion.
<br>
<br>
Of course, no surprises here.
<br>
<br>
<br>
On 03/06/2018 08:33 PM, Fairlight via Filepro-list wrote:
<br>
<blockquote type="cite">Don't even start, Jose. You couldn't
hold Ken's jock strap.
<br>
<br>
m->
<br>
<br>
On Tue, Mar 06, 2018 at 07:32:06PM -0500, Jose Lerebours via
Filepro-list thus spoke:
<br>
<blockquote type="cite">On 03/06/2018 07:24 PM, Ken Cole
wrote:
<br>
<blockquote type="cite">Doesn?t converting a ,.2 edit to a
,.0 edit do that automatically?
<br>
</blockquote>
How refreshing, when one opts drown in a drop of water of
refuses to
<br>
remove blinders ... lol
<br>
<br>
-- <br>
Jose D. Lerebours
<br>
954-559-7186
<br>
<a class="moz-txt-link-freetext" href="https://www.cargosaas.com">https://www.cargosaas.com</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.ezbookeep.com">http://www.ezbookeep.com</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.ezdaemon.com">http://www.ezdaemon.com</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.fp2php.com">http://www.fp2php.com</a>
<br>
<br>
_______________________________________________
<br>
Filepro-list mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
<br>
Subscribe/Unsubscribe/Subscription Changes
<br>
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
<br>
-------------- next part --------------
<br>
An HTML attachment was scrubbed...
<br>
URL:
<a class="moz-txt-link-rfc2396E" href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20180308/b94e1e1d/attachment.html"><http://mailman.celestial.com/pipermail/filepro-list/attachments/20180308/b94e1e1d/attachment.html></a><br>
_______________________________________________
<br>
Filepro-list mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
<br>
Subscribe/Unsubscribe/Subscription Changes
<br>
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
<br>
<br>
<br>
---
<br>
This email has been checked for viruses by AVG.
<br>
<a class="moz-txt-link-freetext" href="http://www.avg.com">http://www.avg.com</a>
<br>
</blockquote>
<br>
</body>
</html>