Navigation bar
  Start Previous page
 97 of 283 
Next page End 92 93 94 95 96 97 98 99 100 101 102  

88
Fraction
Type
Function returning Single
Invocation
Fraction(val)
Parameter
Method
Type
Description
val
ByVal
Single
The value from which the fractional part will be returned.
Discussion
This function returns the fractional portion of the supplied value.  The sign of the returned value will be the
same as that of the value provided.
Example
Dim frac as Single
frac = Fraction(1.5) 
' result is 0.5
frac = Fraction(-1.5) 
' result is -0.5
Compatibility
This function is not available in BasicX compatibility mode.
Previous page Top Next page