nim-dagger/codex/utils/stintutils.nim

5 lines
126 B
Nim
Raw Permalink Normal View History

import pkg/stint
func fromDecimal*(T: typedesc[StUint|StInt], s: string): T {.inline.} =
parse(s, type result, radix = 10)