Strtonum function – Multichannel Systems NeuroExplorer User Manual

Page 313

Advertising
background image

5.5.14.7. StrToNum Function

StrToNum Function


Converts string to number.

Syntax


double StrToNum(stringRepresentingNumber)

Parameters

Parameter

Type

Description

stringRepresentingNum
ber

string

A string containing a valid representation of the
number, for example, "1", "002", "123.456".

Returns


Returns the number corresponding to the specified string.

Comments


None

Usage

NexScript

x = StrToNum("003")

% x now equals to 3

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 311

Advertising