Redian新闻
>
how to display a number with the desired digits
avatar
how to display a number with the desired digits# DotNet - 窗口里的风景
WB
1
i use float when i writeln 1.27700 but alway dispalyed as 1.27
can i shw all the last digit of zero?
if i want to format a float with x.00 only 2 how to format?
F2, but not work on a float is 2.000.
after format, use stirng to show it, it show 2 not 2.00.
how to show int as 123,1156,221.00, with ','
should i choosDecimal type instead of int32?
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。