Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:……pascal怎么不用科学计数法输出啊……一输出就是1.XXXX EXXXX

Posted by SueMiller at 2012-01-18 21:09:51 on Problem 1671
In Reply To:……pascal怎么不用科学计数法输出啊……一输出就是1.XXXX EXXXX Posted by:lydrainbowcat at 2011-04-21 13:05:55
> RT
限制小数位数就行了。
eg:10.59
n:=10.59;
writeln(n:0:2);

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator