Damn I thought I tried that. Thanks, I knew it was something simple.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 31, 2000 12:50 PM
To: [EMAIL PROTECTED]
Subject: [REBOL] Truncation Re:
Hi Paul
Well for numbers of absolute magnitude less than 2,147,483,647 (i.e., within
the range of the integer datatype) you can do this:
>> to-integer 47.2393
== 47
HTH
-Larry
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 31, 2000 10:31 AM
Subject: [REBOL] Truncation
> How do you truncate a number. For example if I have the following:
>
> num: 47.2393
>
> How do I get just the 47. I want to return only the first part before the
> decimal and do NOT want to round the number.
>
> Paul Tretter