TRUNC(theNumber as Float , noDgts as Integer))
Description
Truncates the input number to a desired number of decimal places without rounding of the result and returns a float.
Example
Dim result as float
Result=Trunc(123.5678, 3) 'would set result to 123.567