Difference between revisions of "Documentation/How Tos/Calc: DOLLARFR function"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 4: Line 4:
 
|ShowParttitle=block|parttitle=[[Documentation/How_Tos/Calc:_Financial_functions|<div style="font-size: 140%;">Financial Functions]]
 
|ShowParttitle=block|parttitle=[[Documentation/How_Tos/Calc:_Financial_functions|<div style="font-size: 140%;">Financial Functions]]
 
|ShowNextPage=block|NextPage=Documentation/How_Tos/Calc:_Information_functions
 
|ShowNextPage=block|NextPage=Documentation/How_Tos/Calc:_Information_functions
|ShowPrevPage=block|PrevPage=Documentation/How_Tos/Calc:_DOLLARDE_functio
+
|ShowPrevPage=block|PrevPage=Documentation/How_Tos/Calc:_DOLLARDE_function
 
|ShowPrevPart=block|PrevPart=Documentation/How_Tos/Calc:_Date_%26_Time_functions
 
|ShowPrevPart=block|PrevPart=Documentation/How_Tos/Calc:_Date_%26_Time_functions
 
|ShowNextPart=block|NextPart=Documentation/How_Tos/Calc:_Information_functions
 
|ShowNextPart=block|NextPart=Documentation/How_Tos/Calc:_Information_functions

Revision as of 03:53, 1 June 2013


DOLLARFR

Converts a decimal number into a fractional representation of that number.

Syntax:

DOLLARFR(decimal; denominator)

decimal: the decimal number.
denominator: the denominator for the fractional representation.
Sometimes a security price, for example, might be expressed as 2.03, a fractional representation meaning $2 and 3/16 of a dollar. As a decimal this is 2.1875.
DOLLARFR converts the decimal representation to a fractional representation. Despite its name, it returns a number, not a currency. Its inverse is DOLLARDE.

Example:

DOLLARFR(2.1875; 16)

returns 2.03 as a number. 2 + 3/16 equals 2.1875.
Template:Documentation/SeeAlso
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_DOLLARFR_function&oldid=225641"
Views
Personal tools
Navigation
Tools