Public Function FixReal( _ ByVal vX As Variant _ ) As Variant
FixReal(2.6) = 2 FixReal(2) = 2 FixReal(.4) = 0 FixReal(-.4) = 0 FixReal(-2.6) = -2 FixReal(-2.6E4) = -26000See also:
FixRealVerify Subroutine FractionalPart Function Fix Function (Visual Basic)Note: The FractionalPart function returns the fractional part of a number.
vX: The real number whose integer part is returned. Function returns Null if vX is Null or cannot be fixed up to a number.
Note: This function is similar to the Visual Basic Fix function, except that this one supports three-valued logic.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.