var n = new Number("00");
然后用n就可逸乐

解决方案 »

  1.   

    学了不少
    parseInt(s)
    parseInt(s, radix)Availability
    JavaScript 1.0; JScript 1.1; ECMAScript v1 Synopsis
    parseInt(s)parseInt(s, radix)
    Arguments

    The string to be parsed. radix 
    An optional integer argument that represents the radix (i.e., base) of the number to be parsed. If this argument is omitted or is 0, the number is parsed in base 10, or in base 16 if it begins with "0x" or "0X". If this argument is less than 2 or greater than 36, parseInt( ) returns NaN. Returns
    The parsed number, or NaN if s does not begin with a valid integer. In JavaScript 1.0, parseInt( ) returns 0 instead of NaN when it cannot parse s.