class Mindee::Parsing::Standard::AmountField

Represents tax information.

def initialize(prediction, page_id, reconstructed: false)

def initialize(prediction, page_id, reconstructed: false)
  super
  @value = @value.round(3) unless @value.nil?
end

def to_s

Returns:
  • (String) -
def to_s
  Field.float_to_string(@value)
end