expanding weight input to allow for decimal places