Sv ToNumeric

Revision as of 18:58, 28 August 2010 by imported>LogicDragon (Removed Automaton Message)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(float) sv_ToNumeric sourceString:string_var

Attempts to convert the contents of a string variable to a number. Valid characters include digits, a leading sign, and an e to indicate scientific notation. Conversion halts at the first invalid character.