Thread: Division / Mod
View Single Post
  #4   Spotlight this post!  
Unread 16-04-2002, 17:09
Ameya's Avatar
Ameya Ameya is offline
Freelance Goon
FRC #0293 (SPIKE Robotics)
Team Role: Alumni
 
Join Date: May 2001
Rookie Year: 2000
Location: Pennington, NJ
Posts: 67
Ameya is on a distinguished road
Send a message via ICQ to Ameya Send a message via AIM to Ameya
In that case, you shouldn't need any kind of special procedure to divide. Just use the division ("/") operator; if the result is a non-integer, it should be truncated (I believe). This should be good enough for what you're trying to do.

If you're willing, I'd be interested to hear the specifics of what you're trying to do.
__________________
Ameya Agaskar
Team 293 alumnus