From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(2,357 Views)
Solution
Accepted by spaaw

Use Quotient and Remainder, check if Remainder is 0.

Message 2 of 3
(2,350 Views)

Look at Quotient Remainder function.

Message 3 of 3
(2,349 Views)