Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - moddbl() return the modulus of two numeric values http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 moddbl()            Return the modulus of two numeric values
------------------------------------------------------------------------------
 Declaration
   math.hdr

 Syntax
   func dbl moddbl extern
   param value dbl eNumber1, ;
         value dbl eNumber2

 Arguments
   eNumber1 is the divisor of the division operation.
   eNumber2 is the dividend of the division operation.

 Return
   The remainder of eNumber2 divided by eNumber1.

 Description
   The moddbl() function returns the modulus of two double precision numbers.

 Example
   #define EXAMPLE_MATH
   #include example.hdr

   proc Test_moddbl
   ? moddbl(  9.0,     10.0  )
   ? moddbl( 10.1,     256.2 )
   ? moddbl( 23.44,    223.2 )
   ? moddbl(  2.2,  345256.2 )
   endproc

   proc main
   Test_moddbl()
   endproc

See Also: %

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson