mud/lib/doc/sefun/currency_value
2020-09-06 05:43:07 -07:00

31 lines
701 B
Plaintext

CURRENCY_VALUE(1) CURRENCY_VALUE(1)
NAME
currency_value() - returns how much in EU's an amount of a
currency is
SYNOPSIS
int currency_value(int x, string str)
DESCRIPTION
Given an amount of a currency, this returns its worth in
EU's, or economic units, the base measurement of relative
economic worth.
EXAMPLES
If the currency rate of gold is 1.5, then
currency_value(10, "gold") will return 15.
LOCATION
/secure/sefun/economy.c
SEE ALSO
currency_inflation(), currency_mass(), currency_rate()
Author
Descartes of Borg
1