Yards cubed become a smaller count
Use m³ = yd³ × 0.764554857984. An illustrative 8 yd³ gives 6.116438863872 m³, and the starting 10 yd³ gives 7.64554857984 m³.
Cubic meters on the source side
Reversed, 20 m³ is about 26.159 yd³. The count rises because a cubic yard is the smaller unit.
Long decimals and real measurements
All those decimals describe the factor. They do not make the measured volume more accurate, so round to suit the original measurement.