List of Float methods: Difference between revisions
Jump to navigation
Jump to search
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: | The following are the available Float class methods. | ||
{{Template:Method list header|class=Float}} | |||
, and: | , and: | ||
*[[List of String methods]] | *[[List of String methods]] | ||
Line 7: | Line 8: | ||
<table class="wikitable"> | <table class="wikitable"> | ||
<tr><th>Method</th><th>Description</th></tr> | <tr><th>Method</th><th>Description</th></tr> | ||
<tr><td>[[Absolute (Float function)|Absolute]]</td><td>Absolute value of a number</td></tr> | <tr><td valign="top">[[Absolute (Float function)|Absolute]]</td><td valign="top">Absolute value of a number</td></tr> | ||
<tr><td>[[Antilog (Float function)|Antilog]]</td><td>Antilog base e of a number</td></tr> | <tr><td valign="top">[[Antilog (Float function)|Antilog]]</td><td valign="top">Antilog base e of a number</td></tr> | ||
<tr><td>[[Antilog10 (Float function)|Antilog10]]</td><td>Antilog base 10 of a number</td></tr> | <tr><td valign="top">[[Antilog10 (Float function)|Antilog10]]</td><td valign="top">Antilog base 10 of a number</td></tr> | ||
<tr><td>[[Antilog2 (Float function)|Antilog2]]</td><td>Antilog base 2 of a number</td></tr> | <tr><td valign="top">[[Antilog2 (Float function)|Antilog2]]</td><td valign="top">Antilog base 2 of a number</td></tr> | ||
<tr><td>[[AntilogE (Float function)|AntilogE]]</td><td>Antilog base e of a number</td></tr> | <tr><td valign="top">[[AntilogE (Float function)|AntilogE]]</td><td valign="top">Antilog base e of a number</td></tr> | ||
<tr><td>[[BitAndInteger (Float function)|BitAndInteger]]</td><td>Do bitwise And of integers</td></tr> | <tr><td valign="top">[[BitAndInteger (Float function)|BitAndInteger]]</td><td valign="top">Do bitwise And of integers</td></tr> | ||
<tr><td>[[BitOffInteger (Float function)|BitOffInteger]]</td><td>Clear bits in one integer from another</td></tr> | <tr><td valign="top">[[BitOffInteger (Float function)|BitOffInteger]]</td><td valign="top">Clear bits in one integer from another</td></tr> | ||
<tr><td>[[BitOnInteger (Float function)|BitOnInteger]]</td><td>Set bits in one integer from another</td></tr> | <tr><td valign="top">[[BitOnInteger (Float function)|BitOnInteger]]</td><td valign="top">Set bits in one integer from another</td></tr> | ||
<tr><td>[[BitOrInteger (Float function)|BitOrInteger]]</td><td>Do bitwise Or of integers</td></tr> | <tr><td valign="top">[[BitOrInteger (Float function)|BitOrInteger]]</td><td valign="top">Do bitwise Or of integers</td></tr> | ||
<tr><td>[[BitShiftLeftInteger (Float function)|BitShiftLeftInteger]]</td><td>Do left shift of bits in an integer</td></tr> | <tr><td valign="top">[[BitShiftLeftInteger (Float function)|BitShiftLeftInteger]]</td><td valign="top">Do left shift of bits in an integer</td></tr> | ||
<tr><td>[[BitShiftRightInteger (Float function)|BitShiftRightInteger]]</td><td>Do right shift of bits in an integer</td></tr> | <tr><td valign="top">[[BitShiftRightInteger (Float function)|BitShiftRightInteger]]</td><td valign="top">Do right shift of bits in an integer</td></tr> | ||
<tr><td>[[BitXorInteger (Float function)|BitXorInteger]]</td><td>Do bitwise exclusive Or of integers</td></tr> | <tr><td valign="top">[[BitXorInteger (Float function)|BitXorInteger]]</td><td valign="top">Do bitwise exclusive Or of integers</td></tr> | ||
<tr><td>[[DaysToString (Float function)|DaysToString]]</td><td>Convert days since 1900 to string date/time</td></tr> | <tr><td valign="top">[[DaysToString (Float function)|DaysToString]]</td><td valign="top">Convert days since 1900 to string date/time</td></tr> | ||
<tr><td>[[Div (Float function)|Div]]</td><td>Integer division</td></tr> | <tr><td valign="top">[[Div (Float function)|Div]]</td><td valign="top">Integer division</td></tr> | ||
<tr><td>[[FloatToBinary (Float function)|FloatToBinary]]</td><td></td></tr> | <tr><td valign="top">[[FloatToBinary (Float function)|FloatToBinary]]</td><td valign="top"></td></tr> | ||
<tr><td>[[FloatToString (Float function)|FloatToString]]</td><td>Convert a number to a string</td></tr> | <tr><td valign="top">[[FloatToString (Float function)|FloatToString]]</td><td valign="top">Convert a number to a string</td></tr> | ||
<tr><td>[[IntegerToBinary (Float function)|IntegerToBinary]]</td><td>Convert an integer to a binary string</td></tr> | <tr><td valign="top">[[IntegerToBinary (Float function)|IntegerToBinary]]</td><td valign="top">Convert an integer to a binary string</td></tr> | ||
<tr><td>[[IntegerToHex (Float function)|IntegerToHex]]</td><td>Convert an integer to a hexadecimal string</td></tr> | <tr><td valign="top">[[IntegerToHex (Float function)|IntegerToHex]]</td><td valign="top">Convert an integer to a hexadecimal string</td></tr> | ||
<tr><td>[[IsPrime (Float function)|IsPrime]]</td><td>Is this number prime?</td></tr> | <tr><td valign="top">[[IsPrime (Float function)|IsPrime]]</td><td valign="top">Is this number prime?</td></tr> | ||
<tr><td>[[Log (Float function)|Log]]</td><td>Natural log (base e) of a number</td></tr> | <tr><td valign="top">[[Log (Float function)|Log]]</td><td valign="top">Natural log (base e) of a number</td></tr> | ||
<tr><td>[[Log10 (Float function)|Log10]]</td><td>Log base 10 of a number</td></tr> | <tr><td valign="top">[[Log10 (Float function)|Log10]]</td><td valign="top">Log base 10 of a number</td></tr> | ||
<tr><td>[[Log2 (Float function)|Log2]]</td><td>Log base 2 of a number</td></tr> | <tr><td valign="top">[[Log2 (Float function)|Log2]]</td><td valign="top">Log base 2 of a number</td></tr> | ||
<tr><td>[[LogE (Float function)|LogE]]</td><td>Natural log (base e) of a number</td></tr> | <tr><td valign="top">[[LogE (Float function)|LogE]]</td><td valign="top">Natural log (base e) of a number</td></tr> | ||
<tr><td>[[MarksNumberToStoreCode (Float function)|MarksNumberToStoreCode]]</td><td></td></tr> | <tr><td valign="top">[[MarksNumberToStoreCode (Float function)|MarksNumberToStoreCode]]</td><td valign="top"></td></tr> | ||
<tr><td>[[MillisecondsToString (Float function)|MillisecondsToString]]</td><td>Convert milliseconds since 1900 to string date/time</td></tr> | <tr><td valign="top">[[MillisecondsToString (Float function)|MillisecondsToString]]</td><td valign="top">Convert milliseconds since 1900 to string date/time</td></tr> | ||
<tr><td>[[Mod (Float function)|Mod]]</td><td>Remainder of integer division</td></tr> | <tr><td valign="top">[[Mod (Float function)|Mod]]</td><td valign="top">Remainder of integer division</td></tr> | ||
<tr><td>[[Modulus (Float function)|Modulus]]</td><td>Remainder of integer division</td></tr> | <tr><td valign="top">[[Modulus (Float function)|Modulus]]</td><td valign="top">Remainder of integer division</td></tr> | ||
<tr><td>[[NextPrime (Float function)|NextPrime]]</td><td>Find smallest prime greater than this number</td></tr> | <tr><td valign="top">[[NextPrime (Float function)|NextPrime]]</td><td valign="top">Find smallest prime greater than this number</td></tr> | ||
<tr><td>[[PreviousPrime (Float function)|PreviousPrime]]</td><td>Find greatest prime smaller than this number</td></tr> | <tr><td valign="top">[[PreviousPrime (Float function)|PreviousPrime]]</td><td valign="top">Find greatest prime smaller than this number</td></tr> | ||
<tr><td>[[Round (Float function)|Round]]</td><td>Round a floating point number to the closest integer</td></tr> | <tr><td valign="top">[[Round (Float function)|Round]]</td><td valign="top">Round a floating point number to the closest integer</td></tr> | ||
<tr><td>[[SecondsToString (Float function)|SecondsToString]]</td><td>Convert seconds since 1900 to string date/time</td></tr> | <tr><td valign="top">[[SecondsToString (Float function)|SecondsToString]]</td><td valign="top">Convert seconds since 1900 to string date/time</td></tr> | ||
<tr><td>[[SquareRoot (Float function)|SquareRoot]]</td><td>Square root of a number</td></tr> | <tr><td valign="top">[[SquareRoot (Float function)|SquareRoot]]</td><td valign="top">Square root of a number</td></tr> | ||
<tr><td>[[ToDegrees (Float function)|ToDegrees]]</td><td>Convert a number in radians to degrees</td></tr> | <tr><td valign="top">[[ToDegrees (Float function)|ToDegrees]]</td><td valign="top">Convert a number in radians to degrees</td></tr> | ||
<tr><td>[[ToFloatPower (Float function)|ToFloatPower]]</td><td>Raise number to a floating point power</td></tr> | <tr><td valign="top">[[ToFloatPower (Float function)|ToFloatPower]]</td><td valign="top">Raise number to a floating point power</td></tr> | ||
<tr><td>[[ToIntegerPower (Float function)|ToIntegerPower]]</td><td>Raise number to an integer power</td></tr> | <tr><td valign="top">[[ToIntegerPower (Float function)|ToIntegerPower]]</td><td valign="top">Raise number to an integer power</td></tr> | ||
<tr><td>[[ToPower (Float function)|ToPower]]</td><td>Raise number to an integer power</td></tr> | <tr><td valign="top">[[ToPower (Float function)|ToPower]]</td><td valign="top">Raise number to an integer power</td></tr> | ||
<tr><td>[[ToRadians (Float function)|ToRadians]]</td><td>Convert a number in desgrees to radians</td></tr> | <tr><td valign="top">[[ToRadians (Float function)|ToRadians]]</td><td valign="top">Convert a number in desgrees to radians</td></tr> | ||
</table> | |||
==See also== | |||
<table class="list"><tr> | |||
<td valign="top"><ul style="margin-top:0px;"> | |||
<li>[[Float class]] | |||
<li>[[String class]] | |||
<li>[[Unicode class]] | |||
</ul></td> | |||
<td valign="top"><ul style="margin-top:0px;"> | |||
<li>[[List of String methods]] | |||
<li>[[List of Unicode methods]] | |||
<li>[[List of Intrinsic methods]] | |||
</ul></td> | |||
<td valign="top"><ul style="margin-top:0px;"> | |||
<li>[[Float methods syntax]] | |||
<li>[[String methods syntax]] | |||
<li>[[Unicode methods syntax]] | |||
</ul></td> | |||
</tr> | |||
</table> | </table> |
Revision as of 19:34, 26 January 2011
The following are the available Float class methods.
, and:
Method | Description |
---|---|
Absolute | Absolute value of a number |
Antilog | Antilog base e of a number |
Antilog10 | Antilog base 10 of a number |
Antilog2 | Antilog base 2 of a number |
AntilogE | Antilog base e of a number |
BitAndInteger | Do bitwise And of integers |
BitOffInteger | Clear bits in one integer from another |
BitOnInteger | Set bits in one integer from another |
BitOrInteger | Do bitwise Or of integers |
BitShiftLeftInteger | Do left shift of bits in an integer |
BitShiftRightInteger | Do right shift of bits in an integer |
BitXorInteger | Do bitwise exclusive Or of integers |
DaysToString | Convert days since 1900 to string date/time |
Div | Integer division |
FloatToBinary | |
FloatToString | Convert a number to a string |
IntegerToBinary | Convert an integer to a binary string |
IntegerToHex | Convert an integer to a hexadecimal string |
IsPrime | Is this number prime? |
Log | Natural log (base e) of a number |
Log10 | Log base 10 of a number |
Log2 | Log base 2 of a number |
LogE | Natural log (base e) of a number |
MarksNumberToStoreCode | |
MillisecondsToString | Convert milliseconds since 1900 to string date/time |
Mod | Remainder of integer division |
Modulus | Remainder of integer division |
NextPrime | Find smallest prime greater than this number |
PreviousPrime | Find greatest prime smaller than this number |
Round | Round a floating point number to the closest integer |
SecondsToString | Convert seconds since 1900 to string date/time |
SquareRoot | Square root of a number |
ToDegrees | Convert a number in radians to degrees |
ToFloatPower | Raise number to a floating point power |
ToIntegerPower | Raise number to an integer power |
ToPower | Raise number to an integer power |
ToRadians | Convert a number in desgrees to radians |