Table of Contents

StrVal Method

Converts a string value to double. It tries using both '.' and ',' as decimal separator, and it doesn't raise a convert error in case s is a invalid float value.

Syntax

Unit: atScript

function StrVal(s: string): Double;

Parameters

<-> Parameter Type Description
s string