Skip to content

How to get string value from a number? #3432

Discussion options

You must be logged in to vote

I suggest you take a look at https://json.nlohmann.me/api/json_sax/number_float/.

Using the SAX-style parser gives you access to the original string. You can then store or process it as you see fit.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Jack012a
Comment options

You must be logged in to vote
4 replies
@falbrechtskirchinger
Comment options

@falbrechtskirchinger
Comment options

@Jack012a
Comment options

@falbrechtskirchinger
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants