Skip to main content
Solved

Rounding Decimal Degrees


deanhowell
Influencer
Forum|alt.badge.img+23

Hello,

I am trying to validate the angle of a range of lines to see if they are within plus or minus 10 seconds of a label on the line.

I was looking for something similar to the Attribute Rounder but that allows you to specify a value rather than decimal places.

The Attribute Range Filter seems close but the values are in a list.

If anyone has some suggestions that would be very much appreciated.

Regards

Dean

 

Best answer by ebygomm

You can use negative numbers in the decimal places parameter in an attribute rounder if you want to round to the nearest 10/100 etc.

 

If you want to test whether something is within plus or minus 10 seconds though I'd use this sort of expression in a tester

 

View original
Did this help you find an answer to your question?

2 replies

ebygomm
Influencer
Forum|alt.badge.img+32
  • Influencer
  • Best Answer
  • July 5, 2019

You can use negative numbers in the decimal places parameter in an attribute rounder if you want to round to the nearest 10/100 etc.

 

If you want to test whether something is within plus or minus 10 seconds though I'd use this sort of expression in a tester

 


deanhowell
Influencer
Forum|alt.badge.img+23
  • Author
  • Influencer
  • July 8, 2019
ebygomm wrote:

You can use negative numbers in the decimal places parameter in an attribute rounder if you want to round to the nearest 10/100 etc.

 

If you want to test whether something is within plus or minus 10 seconds though I'd use this sort of expression in a tester

 

Thanks again @egomm, that is very close to what I need to do. Thanks for taking the time to put together the screenshot as that helps a lot.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings