radarsat1 at gmail.com
Mon Mar 10 15:50:20 EDT 2008
On Mon, Mar 10, 2008 at 3:39 PM, Jeremy Hunt <Jrmy at berkeley.edu> wrote:
> Hi all,
> is there a way to typecast dur such that I could do something like this?
> now => float t;
> Or is there a work around? Thanks in advance.
But it's not clear from your example, do you want time in seconds, or ms?
(Which is exactly why you can't do the above...)
now/1::second => float time_in_seconds;
now/1::ms => float time_in_ms;
More information about the chuck-users