### Title

Decimal Calculation Not Working Right

### Post

I thought this was simple but it evidently involves a function I'm not aware of.

1 Field "A" has returned a value of **12.875** inches

2 Field "B" represents that **3** inches goes into **12.875** inches a number of **4.2917** times

3 Field "C" needs to show __ how many inches__ of

**3**inches does the

**.2917**represent?

I can't get it figured out via Filemaker means. No problem as a general math issue. I just can't get FM to do it correctly.

Dekade

I was about to post a guess to that effect!

1 Field "A" has returned a value of

12.875inches2 Field "B" represents that

3inches goes into12.875inches a number of4.2917times3 Field "C" needs to show

ofhow many inches3inches does the.2917represent?Line 2 has an error in it and that's what's taking us off course here.

with a 12.875 inch item, figuring out how many 3 inch pieces is 12.875 Mod 3 which gives you .875 inches as the size of the piece left over.

Thus Mod ( A ; B ) will compute the remainder for you in a filemaker calculation.