libzzub 0.2
float pugi::xml_attribute::as_float ( ) const

Cast attribute value as float.

Returns:
attribute value as float, or 0.0f if conversion did not succeed or attribute is empty