avatar
how to convert str to double# Programming - 葵花宝典
L*a
1
做了个胃镜, 收到一个帐单, 总数是$3000, 自己要 copay $400, 有人有类似经历吗?
总觉得不太合理啊, 问了别人说只 copay $20 .
avatar
b*d
2
in c++. i've used sstream, atof, strtod, none of them give me good precision
eg. 112.84375->112.844
haven't try sprintf but i guess it's the same.
i've also tried >>std::setprecios(20) and it doesn't help. the output
container is declared to double.
any idea how to keep the precision in the string? perhaps i have to use
boost lexical cast...
avatar
s*i
3
depends on your insurance. some insurance doesn't have copay,
while some may have high deductible so you may need to pay
whole amount.
avatar
y*g
4

precision
try <<

【在 b*d 的大作中提到】
: in c++. i've used sstream, atof, strtod, none of them give me good precision
: eg. 112.84375->112.844
: haven't try sprintf but i guess it's the same.
: i've also tried >>std::setprecios(20) and it doesn't help. the output
: container is declared to double.
: any idea how to keep the precision in the string? perhaps i have to use
: boost lexical cast...

avatar
r*r
5
不同的保险,是不一样的。
我以前学校的保险, 只给付80%,
自己就得拿450块左右
如果是全包,那么就只用20块。
我现在公司保险就是全包, 所以我只付co-pay
avatar
b*d
6
lol, thx.

【在 y*******g 的大作中提到】
:
: precision
: try <<

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。