1 Reply Latest reply on Aug 17, 2011 1:07 AM by _spoboyle

    how to convert integer value to tostring( ) in flex4 mxml application

    Venkatesan Balasubramanian Level 1

      hi freinds,

       

      i need suggession to do this

       

      var  Percentage:int ;

       

      Percentage= cursor.current.Commission;

       

      var commstring:String=commPercentage.toString;(error--->Implicit coercion of a value of type Function to an unrelated type String.)

       

         if(commstring== "")
        {

                 some arguments

      }

           else

      {

           some statements

      }

       

      Any helpful suggession or snipped code are welcome

       

      Thanks

       

      B.Venkatesan.