Convert a plain decimal string to raw units without rounding.
Accepts a leading minus sign. Rejects whitespace, exponent notation, and
excess fractional digits, including zeroes. Decimals must be 0–255.
Token positivity and ABI bounds are separate validation steps.
Convert a plain decimal string to raw units without rounding.
Accepts a leading minus sign. Rejects whitespace, exponent notation, and excess fractional digits, including zeroes. Decimals must be 0–255. Token positivity and ABI bounds are separate validation steps.