HomeManualTopicsTypesSymbols

std::to_real

converts its argument into a real (floating point) number

Parameter

object
the object to be converted

Result

real
the real number

Topic

Numbers

See also

std::to_number converts its argument into a number
std::to_integer converts its argument into an integer number
std::to_string returns a human readable presentation of the object