Typecast a value to a BigDecimal
@param [to_str, to_d, Integer] value
value to typecast
@return [BigDecimal]
BigDecimal constructed from value
@api private
[Validate]