January 1, 2005

WinTask - StrToInt

'
' StrToInt - convert a decimal string to an integer
'
' Author: Joe Strazzere
'

ret=External("shlwapi.dll","StrToIntA","1234.56")
msgbox(str$(ret))

ret=External("shlwapi.dll","StrToIntA","-1234.56")
msgbox(str$(ret))