Galil Motion Control manc 18x 6 Page 102
DMC-18x6 Command Reference
94
@FRAC[n]
FUNCTION: Fractional part
DESCRIPTION:
Returns the fractional part of the given number
ARGUMENTS: @FRAC[n]
n is a signed number in the range -2147483648 to 2147483647.
USAGE: DEFAULTS:
While Moving
Yes
Default Value
-
In a Program
Yes
Default Format
-
Command Line
Yes
Controller Usage
ALL
RELATED COMMANDS:
part
EXAMPLES:
:MG @FRAC[1.2]
0.2000
:MG @FRAC[-2.4]
-0.4000
: