SigServer:SignatureMath: Difference between revisions

Jump to navigation Jump to search
Line 220: Line 220:
  precision(5.24, 1); // Returns "5.2"
  precision(5.24, 1); // Returns "5.2"


==== precision ====
==== truncate ====
  ''string'' '''truncate'''(''string'' value, ''number'' length[, ''string'' appendage]);
  ''string'' '''truncate'''(''string'' value, ''number'' length[, ''string'' appendage]);
Returns the string truncated to specified length. If third argument is specified it will be appended to the returned string if it's truncated.
Returns the string truncated to specified length. If third argument is specified it will be appended to the returned string if it's truncated.
256

edits

Navigation menu

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.