Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) DoubleToAnsi

 

Converts double to AnsiString.

 

#include <cassert>
#include <SysUtils.hpp> //VCL specific

int main()
{
  const double myValue = 69.69;
  const String myString = FloatToStr(myValue);
  assert(myString=="69.69");
}

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict