IBP requires that we add the decimal point in the output record, assuming there is a value.
# - - - M a s s F i e l d . f l a t t e n - - -
@staticmethod
def flatten(massField):
'''Flatten a mass field.
'''
if massField is None:
return BLANK_MASS_OUT
else:
return("%*d.%d" %
(MASS_OUT_L - 2, massField.value / 10,
massField.value % 10))