Login Page - Create Account

Support Board


Date/Time: Thu, 16 Jan 2025 03:05:47 +0000



Post From: Sierra adding extra digits to double in arrays

[2017-10-01 01:55:24]
Sierra Chart Engineering - Posts: 104368

When we input doubles into the array with say 5 decimal places, debugging showed that Sierra is adding extra digits up to the 16 decimal places in the variable.

Not to be critical, but are they not aware that this is simply due to the IEEE floating-point number specification and what is known as floating-point error?

They really should understand this.

This function here explains more about this:
sc.FormattedEvaluate()
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-10-01 21:15:51