Move computation of precision and scale to compile time.
Truncate the decimal values instead of rejecting.