[REBOL] Re: using nntp in rebol
From: galtbarber:mailandnews at: 21-Dec-2000 15:46
David Hawley wrote:
I've looked through the wole dictionary and don't see a quick method for converting a
decimal!
to a string! with a specified format. I C I'd do something like:
sprintf( destString, "%.2f", number);
Is there something similar in REBOL or do I need a function?--
David L. Hawley D.L. Hawley and Associates 1.503.274.2242
Software Engineer [David--L--Hawley--computer--org]
David, pi is a built-in constant of type decimal!
When I say
>>to string! pi
== "3.14159265358979"
so, it seems pretty easy.
am I missing something?
-Galt