LOTUSSCRIPT LANGUAGE


Examples: Fraction function
' Print the fractional part of PI
Print Fraction(PI)     ' Prints .141592653589793

'This example shows the relationship between Fix() and Fraction().

' Print PI

Print PI ' Prints 3.14159265358979

' Print the integer part of PI

Print Fix(PI) ' Prints 3

' Print the fractional part of PI

Print Fraction(PI) ' Prints .141592653589793

See Also