Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 5419 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

In a field I want to display a rounded up or down value that is the product of One field divided by another.

I do not see how to display the results field as a whole number or specify how many decimal places in the field.

WHere do I place the rounded function?

Posted

In Layout mode, select the field and choose Format > Number… > Format as decimal. This does not change the actual value, only the way it's displayed. To really round the result of the calculation, use:

Round ( Onefield / Anotherfield ; precision )

Posted

Thanks the display rounding works and thanks.

But I am not sure where to put the function you described so the data in the Avg Steps Min is a whole number.

Round ( Onefield / Anotherfield ; precision )

This is what I want a whole number rounded up or down called Avg Step per minute

Time in minutes is a numeric number (10.25, 10.5, 11)

Where do I place this rounding function? I put it after the field calculation function and got a - could not find this function type error message

NS Total Steps / NS TIme Minutes

Round ( NS Avg SPM ; precision )

What is precision a zero whole number or decimal places?

Using your syntax

Round (NS Total Steps / NS TIme Minutes ; zero

I get a specified field cannot be found message.

This seems like a lot of work for something so simple. THey make connecting relational databased sooooo simple yet the simple stuff so complex. GRR

Posted

I'm afraid I don't quite follow your description. If you have a calculation =

NS Total Steps / NS TIme Minutes

and you want the result to be rounded to the nearest integer, change the formula to:

Round ( NS Total Steps / NS TIme Minutes ; 0 )

I don't think it can be any simpler than that.

This topic is 5419 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.