×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Rounding in webfocus

Rounding in webfocus

Rounding in webfocus

(OP)
This syntax is throwing error in Webfocus.

TOT_DATA_VOL1/D13.4=ROUND(TOT_DATA_VOL/1024,4,'D13.4');


0 ERROR AT OR NEAR LINE 90 IN PROCEDURE mprm_irs_23716FOCEXEC *
(FOC263) EXTERNAL FUNCTION OR LOAD MODULE NOT FOUND: ROUND

As per my understanding , ROUND is not a system function in
WEBFOCUS version 7.7.03 ( version on Linux ) .On the contrary ,
it is a system function in FOCUS 6.9.04

As per my understanding , it cannot be gainsaid that ROUND needs to be defined as a
user defined function or variable needs to be implicitly rounded without using a function .
I am a newbie to focus/webfocus .
Please suggest on the root cause/solution in case the above approach is not in the right direction

RE: Rounding in webfocus

Have not used FOCUS for a long time but try the following instead.

TOT_DATA_VOL1 /D13.4 = ROUND( (TOT_DATA_VOL / 1024), 4, TOT_DATA_VOL1);

Regards

RE: Rounding in webfocus

(OP)
Hi NollaunoUK ,
TOT_DATA_VOL1 /D13.4 = ROUND( (TOT_DATA_VOL / 1024), 4, TOT_DATA_VOL1);
Tried this but not working as ROUND is not system function in webfocus.

TOT_DATA_VOL4/P13.4 = TOT_DATA_VOL/1024;
But above is also giving same result as ROUND.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close