欧美一区二区三区,国内熟女精品熟女A片视频小说,日本av网,小鲜肉男男GAY做受XXX网站

sqlite有沒(méi)有把字符串轉(zhuǎn)成double型

sqlite有沒(méi)有把字符串轉(zhuǎn)成double型?

#include<stdio.h>double GetDouble(const char *a){ double b ; if(NULL == a) { return 0; } sscanf(a, "%lf", b); return b;}void main(){ char *a = "123.4567"; double b =GetDouble(a); printf("%lf\n", b);}