Math editor in drawings?

Is it possible to use attributes and/or drawing dimensionsfor some simple calculation?

I want to have assembly's mass / square meter into drawing =>Can I somehow type a formula and get visible output as numericmode? Formula could be f.ex. "Mass"/(dim1 x dim2).

If the answer was "yes", can I use text and formula in the same[text / math editor] box?SolidworksDrawings And Detailing