T n
To cast a Macaulay2 number to a foreign object with an integer type, give the type followed by the number. Non-integers will be truncated.
i1 : int 12 o1 = 12 o1 : ForeignObject of type int32
i2 : ulong pi o2 = 3 o2 : ForeignObject of type uint64
i3 : short(-2.71828) o3 = -2 o3 : ForeignObject of type int16