Re: [PHP] Round



Koen van den Boogaart wrote:
No, I want it to go to float(0), so minus the minus. "-0" doesn't exist in math, as far as I know. Probably a precision thing.

Ok, then try abs() first then.

--
Richard Heyes
+44 (0)844 801 1072
http://www.websupportsolutions.co.uk

Knowledge Base and HelpDesk software
that can cut the cost of online support
.



Relevant Pages

  • Just to confirm...
    ... Emails that bounce get sent back to the address in the Return-Path: header. ... Richard Heyes ... Knowledge Base and HelpDesk software ...
    (php.general)
  • Re: [PHP] Question About Blocking Email Addresses in Forms
    ... I made a class which converted numbers to text (TextualNumbers IIRC) and it got broken. ... Richard Heyes ... Knowledge Base and Helpdesk software that eases your support ...
    (php.general)
  • PEAR website and MSIE 6
    ... It consistently crashes for me. ... Richard Heyes ... Knowledge Base and Helpdesk software for £299pa hosted for you - ...
    (php.general)
  • Re: [PHP] Round
    ... Richard Heyes ... Knowledge Base and HelpDesk software ...
    (php.general)
  • Re: [PHP] Looking for a navigation recommendation
    ... Knowledge Base and HelpDesk software ... that can cut the cost of online support ...
    (php.general)