1 Reply Latest reply on Jun 3, 2016 12:45 AM by makerbert

# Advanced Math (??) for a calculation...

Hallo / Hi

I would like to make a calculation in FM Pro (10)  but I'm not sure how. Can someone help?

In an Orange-Farm, I have 11 people, each carrying a basket with 75 oranges.

Let's say I want to get 950 Oranges in to my farm.

That's 11 Baskets/persons (825 Oranges) (So 1 Basket each)  -  PLUS 2 persons taking one more round. (75 + 50)

This calculation;  (the PLUS 2 persons)...

How do I get this sober and clean??

I need to tell FM that it should get a full number (integer?) through a division.

- AND then tell me what's left, and divide this too...

Any help?

• ###### 1. Re: Advanced Math (??) for a calculation...

Hi,

Seems like you want the remainder after a division. See http://www.filemaker.com/help/12/fmp/html/func_ref3.33.35.html for that.

If you want you can divide that further.

Filemaker doesn't do fancy stuff like float, longs or doubles, just numbers. So its possible to divide 5 by 7 and get the result you want, just make the field in the layout big enough to show ",714285714" or it will just display a "?"

good luck,

Bert