What if you just subtract 0.005 from the number you pass to the function? --------------------------
-----Original Message----- From: "Vikas..." <vikas.im...@gmail.com> Date: Wed, 3 Mar 2010 12:00:24 To: NZ Borland Developers Group - Delphi List<del...@listserver.123.net.nz>; NZ Borland Developers Group - Delphi List<delphi@delphi.org.nz> Subject: [DUG] Need help in format function _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe