Login Page - Create Account

Support Board


Date/Time: Wed, 22 Jan 2025 00:41:44 +0000



Post From: is there any ACSIL function that rounds

[2018-08-12 15:33:46]
ForgivingComputers.com - Posts: 989
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