Hi, The following demo code illustrates the issue I am running into: $m_nTemp = InputBox("Bang", "Enter number", "" ) $m_nTemp = $m_nTemp * 2 ;$m_nTemp = number( $m_nTemp ) ;$m_nTemp = string( $m_nTemp ) ConsoleWrite( "variable type: " & _VarDump( $m_nTemp ) & @CRLF ) ConsoleWrite("test1: " & $m_nTemp & " : "& hex( $m_nTemp, 2 ) & @CRLF ) $m_nTemp = 4 ConsoleWrite( "variable type: " & _VarDump( $m_nTemp ) & @CRLF ) ConsoleWrite("test2: " & $m_nTemp &am