ConvertDataTypes.comConvert data types programming in one click !

Convert Boolean to Number in JavaScript

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