Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 765 Bytes

CppDoubleToAnsi.md

File metadata and controls

36 lines (19 loc) · 765 Bytes

 

 

 

 

 

 

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"); }