anchor.diff:        {pos_precision, {empty, ?EMPTY_LINK}}, 
         % Number of digits to the right of the decimal point for negative values
         {neg_precision, {empty, ?EMPTY_LINK}},
  +      % The value to display.
         {input, {empty, ?EMPTY_LINK}}
        ]). 
   
  
positive.code: %% Internal functions
  %% ====================================================================
  
  % Get the largest number that can be displayed
  -spec get_pos_limit(NumOfDigits :: pos_integer(),
                      Inputs :: list(input_attr())) -> {ok, float(), float()} | {error, atom()}.
  
  
negative.code:       % display the maximum number possible
        % with maximum precision possible
        % i.e. 4 digits, MaxDisplayValue = 9999
        % MinDisplayPrecision = 0.001 
  
        MaxDispVal = math:pow(10, NumOfDigits) - 1.0,
        MinDispPrec = 1.0 / math:pow(10, (NumOfDigits-1)),
        {ok, MaxDispVal, MinDispPrec};
  
      {ok, PosPrec} ->
        % i.e. NumOfDigits = 4, PosPrec = 2, 
        % MaxDispVal = 99.99, MinDispPrec = 0.01
  
        Max = math:pow(10, (NumOfDigits - PosPrec)),
        MinDispPrec = (1.0 / Max),
        MaxDispVal = Max - MinDispPrec,
        {ok, MaxDispVal, MinDispPrec};
      
      {error, Reason} -> {error, Reason}
    end.
  
  % Get the largest negative number that can be displayed
  % First digit will always be negative sign
  % Leave one digit for leading zero
  % So maximum number of digits to the right of the decimal point is: NumOfDigits-2
  -spec get_neg_limit(NumOfDigits :: pos_integer(),
                      Inputs :: list(input_attr())) -> {ok, float(), float()} | {error, atom()}.
  
  get_neg_limit(NumOfDigits, Inputs) ->
  
    case input_utils:get_integer_range(Inputs, neg_precision, 0, (NumOfDigits-2)) of
      {ok, not_active} ->
        % Don't care about precision 
        MaxDispVal = -(math:pow(10, (NumOfDigits-1))) + 1.0,
        MinDispPrec = 1.0 / math:pow(10, (NumOfDigits-2)),
        {ok, MaxDispVal, MinDispPrec};
  
      {ok, NegPrec} ->
        Max = math:pow(10, ((NumOfDigits-1) - NegPrec)),
        MinDispPrec = (1.0 / Max),
        MaxDispVal = (-Max) + MinDispPrec,
        {ok, MaxDispVal, MinDispPrec};
      
      {error, Reason} -> {error, Reason}
    end.  
  
  %% ====================================================================
  %% Tests
  