Frac()
Frac returns the decimal part of a floating (Single) value.
Syntax: result = Frac( value as single )
Example:
dim a as Single a=23.00423 a = Frac(a) ' output: 0.00423 a=-23.00423 a = Frac(a) ' output: -0.00423
en:frac
Frac returns the decimal part of a floating (Single) value.
Syntax: result = Frac( value as single )
Example:
dim a as Single a=23.00423 a = Frac(a) ' output: 0.00423 a=-23.00423 a = Frac(a) ' output: -0.00423