Re: longs
Brandon Long <[email protected]> Wed, 20 Jan 2010 17:08:03 -0800
| Newsgroups | gmane.text.clearsilver.general |
|---|---|
| Organization | Fiction L Networks |
| Message-ID | <20100121010803.GA28048@bl1> |
CS currently uses a "long int" for numbers, which is 32 bits on 32 bit
builds... and a 64 bit number on most 64 bit builds.
Brandon
On 01/20/10 Scott Hassan uttered the following other thing:
> Do clearsilver's templates understand 64-bit numbers?
>
> I want to do the following:
>
> <?cs set:duration=17179869184 ?>
> <?cs var:duration/1048576?>
>
> This outputs 2048 instead of 16384.
>
> Scott
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
--
"Kill a man, and you are an assassin. Kill millions of men, and you
are a conqueror. Kill everyone, and you are a god." -- Jean Rostand
http://www.fiction.net/blong/