Skip to content

Conversation

@cjorge-graphops
Copy link

Expose literal.ParseNum via pkg/strconv so CUE code can parse native number literals through the standard library. The wrapper returns an internal.Decimal and surfaces syntax issues as *strconv.NumError, matching the existing ParseInt/ParseFloat helpers.

Expose literal.ParseNum via pkg/strconv so CUE code can parse native
number literals through the standard library. The wrapper returns an
internal.Decimal and surfaces syntax issues as *strconv.NumError, matching
the existing ParseInt/ParseFloat helpers.

Signed-off-by: Carlos Jorge <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant