bitcoin: support decimal input