Share via


PdsBatchAttrib::str2Num Method

Converts a string into a real number.

Syntax

client server public static real str2Num(TempStr _tempStr)

Run On

Called

Parameters

Return Value

Type: real
The real number.

Remarks

The string must already be checked to be convertible into a real number. Use the str2NumOk() method of this class to check this. The conversion just removes all 'thousands' separators from the string and replaces the 'decimal' separator with a '.' before it calls the regular conversion method.

See Also

Reference

PdsBatchAttrib Table