Support Board
Date/Time: Tue, 24 Dec 2024 17:49:47 +0000
Post From: sc.RoundToTickSize function
[2015-11-02 16:46:48] |
Johnny - Posts: 99 |
I'm trying to round floating-point numbers to only two decimal places and discard all the remaining in order to use them in internal study calculations. I've used the round function in the following way: round(Number * 100) / 100. But the division by 100 makes all the other decimal places appear again. Is there a way to achieve this?
|