Skip to content

Commit

Permalink
reuse DblToStr
Browse files Browse the repository at this point in the history
  • Loading branch information
rettinghaus committed Jan 31, 2025
1 parent 67d9c9b commit 477e6c4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libmei/addons/att.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ std::string Att::IntToStr(int data) const

std::string Att::VUToStr(data_VU data) const
{
std::stringstream sstream;
sstream << round(data * 10000.0) / 10000.0 << "vu";
return sstream.str();
return DblToStr(data) + "vu";
}

// Basic converters for reading
Expand Down

0 comments on commit 477e6c4

Please sign in to comment.