FormIt C++ API  v23.0.0 (2023.0.0)
FormIt::StringConversion Namespace Reference

Functions

FORMIT_CORE_EXPORT::string LinearValueToString (double val, bool forceFeetOrMeter=false)
 Convert a linear value to a string. More...
 
FORMIT_CORE_EXPORT::pair< bool, double > StringToLinearValue (1::string const &str, bool forceFeetOrMeter=false)
 Convert a string to a linear value. More...
 
FORMIT_CORE_EXPORT::string AreaValueToString (double val, bool includeUnitsAndThousandsSeparators=false, unsigned int decimalPlaces=2, bool forceFeetOrMeter=false)
 Convert an area value to a string. More...
 
FORMIT_CORE_EXPORT::pair< bool, double > StringToAreaValue (1::string const &str, bool forceFeetOrMeter=false)
 Convert a string to an area value. More...
 
FORMIT_CORE_EXPORT::string VolumeValueToString (double val, bool includeUnitsAndThousandsSeparators=false, unsigned int decimalPlaces=2, bool forceFeetOrMeter=false)
 Convert a volume value to a string. More...
 
FORMIT_CORE_EXPORT::pair< bool, double > StringToVolumeValue (1::string const &str, bool forceFeetOrMeter=false)
 Convert a string to a volume value. More...