FormIt C++ API v25.0.0 (2025.0.0)
Loading...
Searching...
No Matches
FormIt::StringConversion Namespace Reference

Functions

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