[gambit-list] number->integer

Alex Sandro Queiroz e Silva asandroq at gmail.com
Wed Oct 29 11:52:34 EDT 2008


Hallo,

Christoph Bauer wrote:
> Hi,
> 
> how can I convert a float number to a integer number? Ok,
> there are floor, truncate, round, but the result have always
> a dot in it. I'd like to convert the number - it is 
>    (round (time->seconds (current-time)))
> - to a string without the dot.
> 
> Thanks for help!
> 

INEXACT->EXACT:
http://www.schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-9.html#%_idx_348

-alex
http://www.ventonegro.org/



More information about the Gambit-list mailing list