Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

The boolean.toString() method returns "1" or "0" depending on the value of the boolean.

Example
Code Block
languagejavascript
var boolval = true;
 
return boolval.toString();
// returns "1"