What is the C printf format directive to output a double as a valid javascript number?

后端 未结 0 2000
天涯浪人
天涯浪人 2020-11-27 20:05

I\'m writing C code that outputs a double into a string to be part of a JSON string.

What C print format directive should I use to output the double ?

As far a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题