def number_from_string(string)
      bd = BigDecimal.new(string)
      if @style == :btc || @style == :btc_long
        return (bd * BTC::COIN).to_i
      else
        # TODO: support other styles
        raise "Not Implemented"
      end
    end
def number_from_string(string)
      bd = BigDecimal.new(string)
      if @style == :btc || @style == :btc_long
        return (bd * BTC::COIN).to_i
      else
        # TODO: support other styles
        raise "Not Implemented"
      end
    end
Returns amount of satoshis parsed from a formatted string according to style attribute.