Use
"31.7%".AsSpan(..^1) // e.g. Decimal.TryParse("31.7%".AsSpan(..^1), System.Globalization.NumberStyles.Any, null, out var dec)