Code:#Float to Integer cvt.w.s $ mfc1 $Integer: The Basic Hex (0x00000001 - 0xFFFFFFFF)Code:#Integer to Float mtc1 $ cvt.s.w $
Float: Whole Numbers in Digits (0x3F800000 = 1)
Don't really know Just used it once awhile back..
You just the Float You Want.
Example:
Code:#3 in FLOAT to 3 in Interger cvt.w.s $f4, $f4 mfc1 $t0,$f4So Just Use Float Registers and Temporary Variables:Code:#3 in Interger to 3 in FLOAT mtc1 $t0, $f0 cvt.s.w $f0, $f0
Code:#Float Register $fxEnjoy Coding,Code:#Temporary Variables $tx
-Creator