The rounding method is important to know about since it can lead to what are known as "bankers errors" where results are statistically biased downwards. This bias can lead to errors over time.
Authors own their submissions and grant full use rights to the site owner.
Commercial reproduction is prohibited without prior written permission (please ask first).
The FXScript Reference is an independent resource, created and funded through user contributions and my wallet. If you find the site useful, please donate to help keep this unique resource online.
Integer essentially drops any fractional part of a number and returns the whole integer closest to zero.
integer(9.9) = 9integer(1.1) = 1
integer(-1.5) = -1
The rounding method is important to know about since it can lead to what are known as "bankers errors" where results are statistically biased downwards. This bias can lead to errors over time.