From: Simon Cozens Date: 2003-10-05T01:34:50+09:00 Subject: Re: Searching for a method... Meino Christian Cramer writes: > Is there a method/function for "casting" floats to integers ? % ri Float.to_i ------------------------------------------------------------- Float#to_i flt.to_i -> anInteger ------------------------------------------------------------------------ Returns flt truncated to an Integer. -- But it's all right; I'm catching the next train home.