https://wiki.tinymux.org/index.php?title=Add()&feed=atom&action=historyAdd() - Revision history2024-03-28T19:56:21ZRevision history for this page on the wikiMediaWiki 1.41.0https://wiki.tinymux.org/index.php?title=Add()&diff=2611&oldid=prevIan at 05:00, 17 January 20062006-01-17T05:00:04Z<p></p>
<p><b>New page</b></p><div>[[Category:Functions]]<br />
== Description ==<br />
<br />
FUNCTION: {{function|add}}(''number1''[, ''numberN'']...)<br />
<br />
Returns the result of adding its arguments together. You may add up to 100 numbers in one add() call. ''numberN'' may be a [[floating-point]] number, and a [[floating-point]] result is returned.<br />
<br />
Related Topics: [[dec()]], [[fdiv()]], [[iadd()]], [[idiv()]], [[imul()]], [[inc()]], [[isub()]], [[mod()]], [[mul()]], [[sub()]].<br />
<br />
== Examples ==<br />
:> say add(2,4)<br />
:You say "6"<br />
:> say add(5,3,7,-4)<br />
:You say "11"<br />
<br />
== Server Differences ==<br />
<br />
Other than differences related to general [[floating-point]] handling, the behavior of [[add()]] is the same across all servers.</div>Ian