IPXV_Inst::Str2Number Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 6: | Line 6: | ||
{{ToReview}} | {{ToReview}} | ||
− | + | Converts the string into number. | |
== Syntax == | == Syntax == | ||
Line 16: | Line 16: | ||
== Parameters == | == Parameters == | ||
;pStr | ;pStr | ||
− | :[in] | + | :[in] The string to be converted in number. |
;bSigned | ;bSigned | ||
− | :[in, defaultvalue(-1)] | + | :[in, defaultvalue(-1)] The flag to take into account the minus symbol from input string. |
;pOk | ;pOk | ||
− | :[out, defaultvalue(0)] | + | :[out, defaultvalue(0)] Returns the <tt>true</tt> if converting was successful. |
;pRes | ;pRes | ||
− | :[out, retval] | + | :[out, retval] Returns the result of converting. |
== Return Value == | == Return Value == |
Revision as of 18:09, 26 May 2015
Converts the string into number.
Syntax
HRESULT Str2Number([in] BSTR pStr, [in, defaultvalue(-1)] VARIANT_BOOL bSigned, [out, defaultvalue(0)] VARIANT_BOOL* pOk, [out, retval] double* pRes);
Parameters
- pStr
- [in] The string to be converted in number.
- bSigned
- [in, defaultvalue(-1)] The flag to take into account the minus symbol from input string.
- pOk
- [out, defaultvalue(0)] Returns the true if converting was successful.
- pRes
- [out, retval] Returns the result of converting.
Return Value
Returns S_OK if operation was successful or error code in other cases.