Closed han8909227 closed 6 years ago
for issue #22, we determined there is a little use case for big_decimal(https://ruby-doc.org/stdlib-1.9.3/libdoc/bigdecimal/rdoc/BigDecimal.html). The default behavior for parsing decimals in all JSON response object will be to regular decimal.
To have all decimal in respose to be big_decimal object(string) @client = AvaTax::Client.new(:response_big_decimal_conversion => true) on new Client object @client.response_big_decimal_conversion = true on existing Client object
@client = AvaTax::Client.new(:response_big_decimal_conversion => true)
@client.response_big_decimal_conversion = true
for issue #22, we determined there is a little use case for big_decimal(https://ruby-doc.org/stdlib-1.9.3/libdoc/bigdecimal/rdoc/BigDecimal.html). The default behavior for parsing decimals in all JSON response object will be to regular decimal.
To have all decimal in respose to be big_decimal object(string)
@client = AvaTax::Client.new(:response_big_decimal_conversion => true)
on new Client object@client.response_big_decimal_conversion = true
on existing Client object