m
no edit summary
(Typo fixing using AWB) |
mNo edit summary |
||
| Line 48: | Line 48: | ||
== Metatables == | == Metatables == | ||
: [[Memorizing table]] - A special table that calculates values as needed and saves them into itself | : [[Memorizing table]] - A special table that calculates values as needed and saves them into itself | ||
== Number Functions == | |||
: [[round]](input, n) - Round '''input''' to '''n''' places. | |||
== Slash Function == | == Slash Function == | ||
| Line 54: | Line 57: | ||
== String Functions == | == String Functions == | ||
:[[ChunkSplit]](string [, length [, endChars]]) - Split a string into groups of "length" each ending with "endChars" (identical to the [http://php.net/chunk-split PHP function] of the same name). | :[[ChunkSplit]](string [, length [, endChars]]) - Split a string into groups of "length" each ending with "endChars" (identical to the [http://php.net/chunk-split PHP function] of the same name). | ||
:[[CountChars]](haystack, needle) - Return how many times ''needle'' is contained in ''haystack''. | :[[CountChars]](haystack, needle) - Return how many times ''needle'' is contained in ''haystack''. | ||