ConvertDataTypes.comConvert data types programming in one click !

Convert String to Boolean in JavaScript

    11131 hits
  • var vIn = "true";
  • var vOut = vIn.toLowerCase()=="true"?1:0;