Re: FastCode RoundToEx



"Dennis" <marianndkc@xxxxxxxxxxxxxxx> wrote
Now with all the misunderstandings cleared up we can focus on the real question.

Is the RoundToEx a healthy improvement to RoundTo?

Who would use RoundToEx and for what purpose?

I certainly would *not* use it nor its predecessor, nor recommend their use.

My objection is mainly because the D7 Help documentation about what its predecessor, RoundTo, is supposed to be doing is not clear. If its goal is bankers rounding and the documentation has been or is changed to say so, then seems clear to me (from these recent discussions) that the latest RoundTo does not satisfy that criteria and should be fixed. After that, it might be worthwhile to try to extend the precision of the returned results and the allowed input range with RoundToEx.

Can we make RoundToEx even better?

Is the TRoundToEXRangeExtended = -20..20 proper?

etc.

All this discussion has reinforced my belief that *most* applications programmers do not know how to properly code decimal fraction arithmetic. It has caused me to collect my thoughts on the problem of rounding such numbers. I have started work on a DecimalRounding_JFH2 module that I think will help these programmers better than anything that I have seen so far.
--JohnH

.



Relevant Pages

  • Re: Hints for newsgroup users.
    ... especially with browser based access. ... recommend at least providing some verbatim text which can be searched ... The purpose of the link is to provide verification for an actual ...
    (uk.transport)
  • RE: Sharepoint Site Issues
    ... Q:What is the purpose of the select buttons to the left of ... u have uploaded it to the server from ur disk. ... Q:Could someone recommend a good book that ... Maybe the help file of SPS can help get started. ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Hints for newsgroup users.
    ... especially with browser based access. ... recommend at least providing some verbatim text which can be searched ... The purpose of the link is to provide verification for an actual ...
    (uk.transport)
  • Re: Reccomend a colour wheel?
    ... I'd also recommend its predecessor: ... which I have found gives more pleasing results. ... What I like about the original Color Schemer is that it lets you fine ...
    (alt.html)
  • Re: Hints for newsgroup users.
    ... especially with browser based access. ... recommend at least providing some verbatim text which can be searched ... The purpose of the link is to provide verification for an actual ...
    (uk.transport)