Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Comments are helpful when you have a large formula or when a reader might need explanations of what is being calculated. It's a good idea to add comments wherever the formula is not trivial.

  • To add a single line of comment, begin the comment with //
  • To add multiple lines of comment, start the comment with /* and end the comment with */

Example:

// This is a single-line comment.

/* This is a multi-line comment.
   It can be useful for longer explanations. */
  • No labels