Difference between revisions of "Documentation/How Tos/Calc: DOLLARDE function"
From Apache OpenOffice Wiki
< Documentation | How Tos
OOoWikiBot (Talk | contribs) m (Bot: Adding Category: Documentation) |
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
||
Line 24: | Line 24: | ||
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
− | [[Category: Documentation]] | + | [[Category: Documentation/Reference/Calc]] |
Revision as of 09:11, 24 November 2009
DOLLARDE
Converts a fractional number representation of a number into a decimal number.
Syntax:
DOLLARDE(fractionalrep; denominator)
- fractionalrep: the fractional representation. Sometimes a security price, for example, might be expressed as 2.03, meaning $2 and 3/16 of a dollar.
- denominator: the denominator - for example, 16 in the example above.
- DOLLARDE converts the fractional representation to decimal. Despite its name, it returns a number, not a currency. Its inverse is DOLLARFR.
Example:
DOLLARDE(2.03; 16)
- returns 2.1875 as a number. 2 + 3/16 equals 2.1875.