what does fix function do?

Results 1 to 3 of 3

Thread: what does fix function do?

  1. #1
    aditya.c.v.s Guest

    Default what does fix function do?

    what is the functionality of a fix function

  2. #2
    Join Date
    Dec 1969

    Default R.T.F.M.D.

    Read the friendly Microsoft docs.<BR><BR>There&#039s a link to them on the left hand si.... no on second thoughts, I think that would prompt such a qustion as "What are the friendly Microsoft docs"?<BR><BR>Click here:<BR><BR>http://msdn.microsoft.com/scripting/default.htm?/scripting/vbscript/doc/vbstoc.htm<BR><BR>And read!<BR><BR>HTH<BR><BR>Darren<BR>[ darren@showusyourocde.com ]

  3. #3
    Join Date
    Dec 1969

    Default note on rounding

    I don&#039t know what you&#039re looking into, but if you look at Microsoft&#039s documentation, you&#039ll find that VB doesn&#039t do "normal" arithmetic rounding on numbers that end in .5; it depends on the number to the left of the decimal point whether it rounds up or down. Pretty funky, but that&#039s what they call "Banker&#039s Rounding". They also provide some sample code that will do the normal rounding - where .5 always rounds up!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts