Gold Function
Suppose we compute “weight in Au”
Worth = (Weight*12)*368.4
Function worthau ( weight )
{
// Compute the dollar value
//
of weight at $368.40/troy oz
}