Added function StrToReal