message: revert asset.cpp
diff: @@ -23,13 +23,11 @@ int64_t asset::precision()const {
  string asset::to_string()const {
  string sign = amount < 0 ? "-" : "";
  int64_t abs_amount = std::abs(amount);
  - auto preci = precision();
  - EOS_ASSERT(preci > 0, asset_type_exception, "Asset's precision should be positive");
  - string result = fc::to_string( static_cast<int64_t>(abs_amount) / preci);
  + string result = fc::to_string( static_cast<int64_t>(abs_amount) / precision());
  if( decimals() )
  {
  - auto fract = static_cast<int64_t>(abs_amount) % preci;
  - result += "." + fc::to_string(preci + fract).erase(0,1);
  + auto fract = static_cast<int64_t>(abs_amount) % precision();
  + result += "." + fc::to_string(precision() + fract).erase(0,1);
  }
  return sign + result + " " + symbol_name();
  }
  