CURRENCY_MASS(1) CURRENCY_MASS(1)
NNAAMMEE
_c_u_r_r_e_n_c_y___m_a_s_s_(_) - returns the mass of a given amount of a
currency
SSYYNNOOPPSSIISS
int currency_mass(string type, int x)
DDEESSCCRRIIPPTTIIOONN
Given a currency and an amount of that currency, the
function will return the mass.
EEXXAAMMPPLLEESS
int currency_mass("gold", 100) might return 4 for 4 mass
units
LLOOCCAATTIIOONN
/secure/SimulEfun/economy.c
SSEEEE AALLSSOO
_c_u_r_r_e_n_c_y___i_n_f_l_a_t_i_o_n_(_), _c_u_r_r_e_n_c_y___r_a_t_e_(_), _c_u_r_r_e_n_c_y___v_a_l_u_e_(_),
_m_u_d___c_u_r_r_e_n_c_i_e_s_(_)
AAuutthhoorr
Descartes of Borg
1