×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
When you do it this way, it does not adjust the time/60, it will use the entire
result. so 40/60 will use .6666666666667 out to some signficance I don't
remember.
We do it this way in order to get the "most" out of the calculation before we
adjust the final number.
-----Original Message-----
From: Sharon Wintermute
Sent: Monday, April 09, 2007 1:34 PM
To: 'RPG programming on the AS400 / iSeries'
Subject: RE: translation in /free??
I would manually translate it to
eval(h) @callshr = @Calls / (@time / 60);
The half adjust works fine this way.
It will adjust based on the definition of @CallShr.
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[
mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Jay Vaughn
Sent: Monday, April 09, 2007 1:22 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: translation in /free??
@TIME DIV(H) 60 WKHRMN 5 2
@CALLS DIV(H) WKHRMN @CALLSHR
How would this be translated to /free? From what I understand, %DIV does
not support decimals. Also there is the issue with the "half adjust"...
Thanks,
Jay Vaughn
iSeries Senior Programmer/Analyst
RateWatch
jayv@xxxxxxxxxxxxxx
251-633-8929
As an Amazon Associate we earn from qualifying purchases.