answersLogoWhite

0


Best Answer

FELD-01 W 6 P VALUE 13 . * DIVIDEND

FELD-02 W 6 P VALUE 05 . * DIVISOR

FELD-03 W 6 P VALUE 00 . * QUOTIENT

FELD-04 W 6 P VALUE 00 . * WORK

FELD-05 W 6 P VALUE 00 . * MODULUS

*

JOB INPUT(NULL)

*

* 13 / 5 = 2 MOD 3

*

FELD-03 = FELD-01 / FELD-02 . * 13 / 5 ==> 02

FELD-04 = FELD-02 * FELD-03 . * 2 * 5 ==> 10

FELD-05 = FELD-01 - FELD-04 . * 13 - 10 ==> 03

*

DISPLAY FELD-01 ' / ' FELD-02 ' = ' FELD-03 ' MOD ' FELD-05

*

User Avatar

Wiki User

16y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you get the modulus of two numbers in easytrieve?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the function of the modulus operator in most languages?

Calculating the modulus of two numbers. Are you surprised now?


Does modulus of negative numbers exists?

they do if you want them to.


Is young's modulus storage modulus?

The Young modulus and storage modulus measure two different things and use different formulas. A storage modulus measures the stored energy in a vibrating elastic material. The Young modulus measures the stress to in still elastic, and it is an elastic modulus.


How do you declare an array in easytrieve?

your wish


Does Easytrieve have a version of the COBOL uppercase function?

no


Why do you take modulus of wave function?

psi is a complex numbers so its square will be negative(i^2=-i).. we take modulus of psi^2..as probability cannot be negative..


How the procedure for sign modulus method and 2's complement method for storing positive and negative numbers?

explain the procedure for sign modulus method and 2's complement method for storing positive and negative numbers?


What are the arithmetic operator available in c?

The following arithmetic operators are available in c:+ - addition -> used to add two numbers- - subtraction ->used to subtract two numbers* - multiplication ->used to multiply two numbers/ - division -> used to divide two numbers% - modulus -> used to determine the remainder when two numbers are divided. a%b return the remainder when a is divided by b(can be used with only integer data types).


Why is the function in excel that finds the remainders of two numbers called MOD?

It is the short for MODULUS DIVISION which is an operation of division that aims to get the ramainder rather than the whole number.


What will be the young's modulus if i use two wires both made of copper but they are different in length and diameter?

Young's modulus or modulus of elasticity is a property of the material. As in both the wires we have copper material the young's modulus will be the same. It does not get altered with length or area of cross section.


How to declare an array in easytrieve that occurs 99999 times?

WS-DAYS-OF-WEEK W 10 A OCCURS 99999 refer: http://code.xmlgadgets.com/2010/09/20/occurs-clause-in-easytrieve/


How do you convert uppper case character to lower case in easytrieve?

There are a couple of different ways to convert upper case characters to lower case in easytrieve. One is to use the INSPECT/CONVERTING command.