KarlisBa Posted June 17, 2009 Report Share Posted June 17, 2009 Sveiki! Kā noteikt, ka skaitlis ir ar komatu un panākt, lai tiktu ņemts vērā tuvākai lielākais veselais skaitlis. Respektīvi ja ir 1.6 vai 1.3, tad tiktu parādīts kā 2 Quote Link to comment Share on other sites More sharing options...
kechums Posted June 17, 2009 Report Share Posted June 17, 2009 ceil() Quote Link to comment Share on other sites More sharing options...
werd Posted June 17, 2009 Report Share Posted June 17, 2009 (edited) Izmanto funkciju ceil(). P.S Atvainojos par dubultierakstu, lietotājs kechums pasteidzās pirmais. Edited June 17, 2009 by phpjanis Quote Link to comment Share on other sites More sharing options...
KarlisBa Posted June 17, 2009 Author Report Share Posted June 17, 2009 Paldies! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.