LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Division of random numbers, see if the result is an integer.

Solved!
Go to solution

Simple and yet cant find an easy way around it.

 

I have 2 RANDOM numbers coming in, I'm dividing them and I want to see if the result is an integer or not. Basically I need to see if the divison of the 2 random numbers provides a whole number.

 

Who wants KUDOS?

 

/spaw

0 Kudos
Message 1 of 3
(1,130 Views)
Solution
Accepted by topic author spaaw

Use Quotient and Remainder, check if Remainder is 0.

Message 2 of 3
(1,123 Views)

Look at Quotient Remainder function.

Message 3 of 3
(1,122 Views)