View Single Post
  #1 (permalink)  
Old 12-11-2007, 01:14 AM
AlejandroPenton AlejandroPenton is offline
Member
 
Join Date: Dec 2007
Posts: 1
AlejandroPenton is on a distinguished road
transforming double to int
Hello guys! I want you to help me with something. I need to use the pow() method which can only be used with double data type. But I also need to use the result in a mod operation (%) which is only defined for int data type. So there must be a way to convert doubles to integers. Do you know how? thanks
Reply With Quote
Sponsored Links