StringToFloat

The   NWScript command converts a string to a floating point number. If the provided string does not represent a number, this returns 0.0.