ConvertDataTypes.comConvert data types programming in one click !

Convert Boolean to Number in JavaScript

    3410 hits
  • var vIn = true;
  • var vOut = vIn?1:0;