# To File Block: How to set the number of decimal places

**URL:** <https://forum.plexim.com/t/to-file-block-how-to-set-the-number-of-decimal-places/1200>\
**Category:** PLECS\
**Tags:** places, accuracy, decimal\
**Created:** [January 16, 2023, 10:21am UTC](https://forum.plexim.com/t/to-file-block-how-to-set-the-number-of-decimal-places/1200 "2023-01-16T10:21:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![utuber27](https://avatars.discourse-cdn.com/v4/letter/u/f0a364/32.png) [@utuber27](https://forum.plexim.com/u/utuber27)\
**Post date:** [January 16, 2023, 10:21am UTC](https://forum.plexim.com/t/to-file-block-how-to-set-the-number-of-decimal-places/1200/1 "2023-01-16T10:21:44Z")

</div>

Hello,

I use a To File Block in my simulation to export data. But there are 15 digits after the point. I don’t need this high accuracy.

How do I set the number of decimal places? In general I don’t need such precise calculations. Is it possible to diminish the precision to improve the simulation speed?

King Regards

---

<div class="post-metadata">

**Author:** ![Bryan\_Lieblick](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/bryan_lieblick/32/10_2.png) [@Bryan\_Lieblick](https://forum.plexim.com/u/Bryan_Lieblick)\
**Post date:** [January 17, 2023, 12:26pm UTC](https://forum.plexim.com/t/to-file-block-how-to-set-the-number-of-decimal-places/1200/2 "2023-01-17T12:26:13Z")

</div>

There is not a setting to adjust the number of decimal places in the output. PLECS uses double precision floating point numbers which determines the decimal precision of the output.
