Here are some examples:
* Not capitalized: She gave me a gram of sugar.
* Capitalized: Gram gave me a gram of sugar.
* Capitalized (part of a proper noun): I went to the Pap Museum of Art.
Important Note: "Gram" is often used as a shortened form of "grandmother," which should always be capitalized.