On 4/23/07, Steve Garman <[EMAIL PROTECTED]> wrote:
> I know I've seen this on a bug report somewhere (I thought it was fixed)
> but I can't find it now.
> val( "-1ea" ) returns 1, instead of -1
>
>    dim i As Integer
>    i = val( "-1ea" )
>    MsgBox CStr( 3 + i )
>
> shows 4 instead of 2
>
> Can anyone point me at the feedback request? It may be Win32 only

Shouldn't you use the Cdbl function in a situation like that?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to