Re: A89: BASIC question


[Prev][Next][Index][Thread]

Re: A89: BASIC question




In a message dated 9/26/98 11:16:35 PM Eastern Daylight Time, kimo@stones.com
writes:

> need to know how to get a remainder after dividing something.
>  example.
>  input a number 30.  i want to divide that number by 9 and store the
>  remainder to a variable.  in this case, the remainder would be 3.  how to i
>  get that three into a variable?
>  {-kimo-}

use the remain( function.  remain(30,9) gives you 3.  it goes
remain(numerator,denominator) and you can store this ->var.