deterministic lang/toNumber test