Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Remove \ escape reminder

 

The following operators are valid operators for numbers. Note: In addition to these there are also functions in the math module.

...

The sprintf() operator can be applied to either a number or a string. The operator takes a formatting string as its sole argument. The formatting string follows the conventions for sprintf() established in other languages. Specifically, the KRL version of sprintf() follows the formatting conventions for Perl. For example Use \%d to escape a literal %d:

Code Block
languagejavascript
themeConfluence
a = 10
cb = a.sprintf("<\%d %d>") // cb = "<<%d 10>"