LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

divide

how can i generate such numbers where the two number's remainder is 0?always like 4/2 6/3 8/4

0 Kudos
Message 1 of 7
(3,464 Views)

I would generate two random numbers and then multiply them.  Take either of the original numbers and the multiplication result.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 7
(3,459 Views)
Integers only? If you want to deal with floats you will have to decide what zero is. Is 0.00000 zero? Well how about 0.000001, is that zero? The issue is that integers are exact, floats are approximations.

Why are you needing this?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 7
(3,440 Views)
0 Kudos
Message 4 of 7
(3,411 Views)

only integers.

I want to make the lumosity raindrops.operations must be very simpleNévtelen.jpg

0 Kudos
Message 5 of 7
(3,398 Views)

Next time please use a reasonable thread subject. "divide" does not mean anything useful. Thanks!


szabolcs1295 wrote:

I want to make the lumosity raindrops.operations must be very simple


Please attach the actual VI instead of pictures. What is inside the other case? What is the purpose of the FOR loop? (You seem to sue the FOR loop as a glorified sequence frame). Where do the hidden wires actually go? What is the point of the linefeeds? What is the point of the two waits, they seem to run in parallel? What is the point of the sequence structure? Seems pointless. Do you really need a formatted width of 10 characters for a two-digit number?

 

Can you explain what you mean by lumosity raindrops and how it relates to your question?

 

Also make sure to answer my questions form the other thread.

0 Kudos
Message 6 of 7
(3,364 Views)
0 Kudos
Message 7 of 7
(3,301 Views)