ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LCM divider rest

hey everybody,

I would like to divide one array by another array and deal with the REST of the division of each element.
Unfortunatly I can't find a function that provides (only) the rest of a division.

I need this to build an application to calculate the lowest common multiple. Does anyone already wrote such a program? It would be very helpful for my if I could use it.

Thanks Claudia
0 Kudos
Message 1 of 6
(3,642 Views)
By rest, do you mean remainder? If so, then there's the function Quotient & Remainder on the Numeric palette. You can wire arrays to the x and y inputs and get an array output of all remainders.
0 Kudos
Message 2 of 6
(3,644 Views)
Hey Dennis,

you were right. Finaly I used this *.vi

Thanks for your fast and good reply
Claudia
0 Kudos
Message 3 of 6
(3,621 Views)
It is something different that I'm looking for. With "rest" I mean like:
7/3=2.333333 (so the rest is 0.33333)
or
9/4=2.25 (rest=0.25)

I'm interested in the values after the comma and not in the modulus or remainder.

I'm very appreciate about every help
Claudia
0 Kudos
Message 4 of 6
(3,598 Views)
How about this (attached)?

--John
0 Kudos
Message 5 of 6
(3,594 Views)

Where can I find this function?

0 Kudos
Message 6 of 6
(3,227 Views)