addedValues Plugin

...Powerful Free! Database Expansion for Manila
logoBottle:

(1 or more words)


Get tropes here!
Click to see internals
Report bug


Hotel Nuovo Marghera

sitepic_hotelNMarghera.jpg:
Viewable with Any Browser

Members
Join Now
Login

addedValueMacros.moneyFormat

Syntax

{addedValueMacros.moneyFormat(decimal, places, currSymbol="$", flSymbolLeads=true)

Examples

{addedValueMacros.moneyFormat(5975.47, 2)} $5,975.47
{addedValueMacros.moneyFormat(5975.47, 2, "GBP", false)} 5,975.47GBP

Semantics

MoneyFormat returns a string formatting a number into a currency string. It is needed because there is no Frontier internal routines for this and while there are good libraries available on the Macintosh , they use ROM specific routines.