On Fri, May 16, 2003 at 03:45:42PM +0200, ari...@in... wrote:
> How to convert a float to a string ??
Hi,
one way to achieve that could be:
- write the float on a string stream
- turn the stream into a string
in other words something like:
...
std::ostringstream oss;
oss << the_float;
return oss.str();
...
> How work fmod()??
function "fmod" is used to compute the remainder of two floats,
example: fmod(7.2, 4) will yield: 3.2
> Thanks to all.
Welcome
--
>> gisan >>
|