Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
Converts double to AnsiString.
Code in plain text can be found here.
#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.