Float methods syntax: Difference between revisions
m (Automatically generated page update) |
m (Automatically generated page update) |
||
Line 1: | Line 1: | ||
<!-- This page was automatically generated and will be automatically | <!-- This page was automatically generated and will be automatically | ||
replaced, so any manual edits will be lost. You've been warned. --> | replaced, so any manual edits will be lost. You've been warned. --> | ||
{{Template: | {{Template:Syntax list header|class=Float}} | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top:1px solid;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[Absolute (Float function)|Absolute]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top:1px solid;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[Absolute (Float function)|Absolute]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[Antilog (Float function)|Antilog]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[Antilog (Float function)|Antilog]]</span></p> | ||
Line 7: | Line 7: | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[Antilog2 (Float function)|Antilog2]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[Antilog2 (Float function)|Antilog2]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[AntilogE (Float function)|AntilogE]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[AntilogE (Float function)|AntilogE]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%result</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[BitAndInteger (Float function)|BitAndInteger]]</span><span class="literal">(</span> <span class="term">andBits</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%result</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[BitAndInteger (Float function)|BitAndInteger]]</span><span class="literal">(</span> <span class="term" title="Number">andBits</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%result</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[BitOffInteger (Float function)|BitOffInteger]]</span><span class="literal">(</span> <span class="term">offBits</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%result</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[BitOffInteger (Float function)|BitOffInteger]]</span><span class="literal">(</span> <span class="term" title="Number">offBits</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%result</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[BitOnInteger (Float function)|BitOnInteger]]</span><span class="literal">(</span> <span class="term">onBits</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%result</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[BitOnInteger (Float function)|BitOnInteger]]</span><span class="literal">(</span> <span class="term" title="Number">onBits</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%result</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[BitOrInteger (Float function)|BitOrInteger]]</span><span class="literal">(</span> <span class="term">orBits</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%result</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[BitOrInteger (Float function)|BitOrInteger]]</span><span class="literal">(</span> <span class="term" title="Number">orBits</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%result</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[BitShiftLeftInteger (Float function)|BitShiftLeftInteger]]</span><span class="literal">(</span> <span class="term">shift</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%result</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[BitShiftLeftInteger (Float function)|BitShiftLeftInteger]]</span><span class="literal">(</span> <span class="term" title="Number">shift</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%result</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[BitShiftRightInteger (Float function)|BitShiftRightInteger]]</span><span class="literal">(</span> <span class="term">shift</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%result</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[BitShiftRightInteger (Float function)|BitShiftRightInteger]]</span><span class="literal">(</span> <span class="term" title="Number">shift</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[BitXorInteger (Float function)|BitXorInteger]]</span><span class="literal">(</span> <span class="term">xorBits</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[BitXorInteger (Float function)|BitXorInteger]]</span><span class="literal">(</span> <span class="term" title="Number">xorBits</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[DaysToString (Float function)|DaysToString]]</span><span class="literal">(</span> <span class="term">format</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[DaysToString (Float function)|DaysToString]]</span><span class="literal">(</span> <span class="term" title="String">format</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[Div (Float function)|Div]]</span><span class="literal">(</span> <span class="term">number</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[Div (Float function)|Div]]</span><span class="literal">(</span> <span class="term" title="Number">number</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[FloatToBinary (Float function)|FloatToBinary]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[FloatToBinary (Float function)|FloatToBinary]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[FloatToString (Float function)|FloatToString]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal">Length=</span> <span class="term"> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[FloatToString (Float function)|FloatToString]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="Number">Length=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Number">DP=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[IntegerToBinary (Float function)|IntegerToBinary]]</span><span class="literal">(</span> <span class="term">number</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Signed=</span> <span class="term"> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[IntegerToBinary (Float function)|IntegerToBinary]]</span><span class="literal">(</span> <span class="term" title="Number">number</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Boolean">Signed=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[IntegerToHex (Float function)|IntegerToHex]]</span><span class="literal">(</span> <span class="term">number</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Signed=</span> <span class="term"> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[IntegerToHex (Float function)|IntegerToHex]]</span><span class="literal">(</span> <span class="term" title="Number">number</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Boolean">Signed=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%boolean</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[IsPrime (Float function)|IsPrime]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%boolean</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[IsPrime (Float function)|IsPrime]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[Log (Float function)|Log]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[Log (Float function)|Log]]</span></p> | ||
Line 26: | Line 26: | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[LogE (Float function)|LogE]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[LogE (Float function)|LogE]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[MarksNumberToStoreCode (Float function)|MarksNumberToStoreCode]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[MarksNumberToStoreCode (Float function)|MarksNumberToStoreCode]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[MillisecondsToString (Float function)|MillisecondsToString]]</span><span class="literal">(</span> <span class="term">format</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[MillisecondsToString (Float function)|MillisecondsToString]]</span><span class="literal">(</span> <span class="term" title="String">format</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[Mod (Float function)|Mod]]</span><span class="literal">(</span> <span class="term">number</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[Mod (Float function)|Mod]]</span><span class="literal">(</span> <span class="term" title="Number">number</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[Modulus (Float function)|Modulus]]</span><span class="literal">(</span> <span class="term">number</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[Modulus (Float function)|Modulus]]</span><span class="literal">(</span> <span class="term" title="Number">number</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[NextPrime (Float function)|NextPrime]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[NextPrime (Float function)|NextPrime]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[PreviousPrime (Float function)|PreviousPrime]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[PreviousPrime (Float function)|PreviousPrime]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[Round (Float function)|Round]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term">number</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[Round (Float function)|Round]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="Number">number</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[SecondsToString (Float function)|SecondsToString]]</span><span class="literal">(</span> <span class="term">format</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[SecondsToString (Float function)|SecondsToString]]</span><span class="literal">(</span> <span class="term" title="String">format</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[SquareRoot (Float function)|SquareRoot]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[SquareRoot (Float function)|SquareRoot]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[ToDegrees (Float function)|ToDegrees]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[ToDegrees (Float function)|ToDegrees]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[ToFloatPower (Float function)|ToFloatPower]]</span><span class="literal">(</span> <span class="term">number</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[ToFloatPower (Float function)|ToFloatPower]]</span><span class="literal">(</span> <span class="term" title="Number">number</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[ToIntegerPower (Float function)|ToIntegerPower]]</span><span class="literal">(</span> <span class="term">number</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[ToIntegerPower (Float function)|ToIntegerPower]]</span><span class="literal">(</span> <span class="term" title="Number">number</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[ToPower (Float function)|ToPower]]</span><span class="literal">(</span> <span class="term">number</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[ToPower (Float function)|ToPower]]</span><span class="literal">(</span> <span class="term" title="Number">number</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[ToRadians (Float function)|ToRadians]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal">=</span> <span class="term">float</span><span class="literal">:[[ToRadians (Float function)|ToRadians]]</span></p> |
Revision as of 19:34, 26 January 2011
The syntax for each of the Float class methods is shown below.
Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of Float methods.
%number= float:Absolute
%number= float:Antilog
%number= float:Antilog10
%number= float:Antilog2
%number= float:AntilogE
%result= float:BitAndInteger( andBits)
%result= float:BitOffInteger( offBits)
%result= float:BitOnInteger( onBits)
%result= float:BitOrInteger( orBits)
%result= float:BitShiftLeftInteger( shift)
%result= float:BitShiftRightInteger( shift)
%number= float:BitXorInteger( xorBits)
%string= float:DaysToString( format)
%number= float:Div( number)
%string= float:FloatToBinary
%string= float:FloatToString[( [Length= number], [DP= number])]
%string= float:IntegerToBinary( number, [Signed= boolean])
%string= float:IntegerToHex( number, [Signed= boolean])
%boolean= float:IsPrime
%number= float:Log
%number= float:Log10
%number= float:Log2
%number= float:LogE
%string= float:MarksNumberToStoreCode
%string= float:MillisecondsToString( format)
%number= float:Mod( number)
%number= float:Modulus( number)
%number= float:NextPrime
%number= float:PreviousPrime
%number= float:Round[( [number])]
%string= float:SecondsToString( format)
%number= float:SquareRoot
%number= float:ToDegrees
%number= float:ToFloatPower( number)
%number= float:ToIntegerPower( number)
%number= float:ToPower( number)
%number= float:ToRadians