# Appearing Decimals while filtering the Line Curve Lengths How To Avoid This error?

**URL:** <https://forum.dynamobim.com/t/appearing-decimals-while-filtering-the-line-curve-lengths-how-to-avoid-this-error/98275>\
**Category:** Geometry\
**Tags:** revit, geometry, dynamo\
**Created:** [February 20, 2024, 12:26pm UTC](https://forum.dynamobim.com/t/appearing-decimals-while-filtering-the-line-curve-lengths-how-to-avoid-this-error/98275 "2024-02-20T12:26:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vivekanandanXVLYD](https://avatars.discourse-cdn.com/v4/letter/v/d26b3c/32.png) [@vivekanandanXVLYD](https://forum.dynamobim.com/u/vivekanandanXVLYD)\
**Post date:** [February 20, 2024, 12:26pm UTC](https://forum.dynamobim.com/t/appearing-decimals-while-filtering-the-line-curve-lengths-how-to-avoid-this-error/98275/1 "2024-02-20T12:26:34Z")

</div>

When i Filter the length of the Line i an Receiving decimals like (72000.0000003) this making error in selecting indices.

 ![Screenshot 2024-02-20 175548](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/0/f0640fa28cf0ec30ed9b5574198a3f99e30a007d.png)

Kindly Give me the suggestions and unit and node settings

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [February 20, 2024, 12:29pm UTC](https://forum.dynamobim.com/t/appearing-decimals-while-filtering-the-line-curve-lengths-how-to-avoid-this-error/98275/2 "2024-02-20T12:29:53Z")

</div>

This is a floating point error. You can’t prevent it, but you can manage it. Round your values to the nearest 6 decimals as an example.

More on floating point here:

[![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/c/cca6f72fa70cf1cabf98cfe4682845cf2c3b495e.jpeg "how floating point works") ](https://www.youtube.com/watch?v=dQhj5RGtag0)

---

<div class="post-metadata">

**Author:** ![vivekanandanXVLYD](https://avatars.discourse-cdn.com/v4/letter/v/d26b3c/32.png) [@vivekanandanXVLYD](https://forum.dynamobim.com/u/vivekanandanXVLYD)\
**Post date:** [February 20, 2024, 12:34pm UTC](https://forum.dynamobim.com/t/appearing-decimals-while-filtering-the-line-curve-lengths-how-to-avoid-this-error/98275/3 "2024-02-20T12:34:47Z")

</div>

Dear Jacob,  
thanks for connect can i get any workflow or node example to fix this problem. i am using revit 2024 and dynamo.

---

<div class="post-metadata">

**Author:** ![vivekanandanXVLYD](https://avatars.discourse-cdn.com/v4/letter/v/d26b3c/32.png) [@vivekanandanXVLYD](https://forum.dynamobim.com/u/vivekanandanXVLYD)\
**Post date:** [February 20, 2024, 12:41pm UTC](https://forum.dynamobim.com/t/appearing-decimals-while-filtering-the-line-curve-lengths-how-to-avoid-this-error/98275/4 "2024-02-20T12:41:16Z")

</div>

Thanks Jacob,

i have fixed this problem thank you.

 ![Screenshot 2024-02-20 180937](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/a/2a99b5914d387398de2240c6e265e9005bac9b85.png)
