Login Page - Create Account

Support Board


Date/Time: Sun, 12 May 2024 23:48:06 +0000



Post From: is there any ACSIL function that rounds

[2018-08-12 15:33:46]
bradh - Posts: 857
When I want to round to say the nearest .000001, I multiply by 1,000,000, then use round() to take it to the nearest integer, then divide by 1,000,000.

Like this:

lvl1OrderPrice = round(sc.BaseData[SC_LAST][sc.Index] * 100000) / 100000;

Brad