snprintf: Use sizeof and a limit of 12 characters

sizeof rocks.
Also, decimals cannot exceed 12 characters in length, so let's exploit that.