RE: H e l p with some vbscript

by "David Clapper" <dclapper(at)clioassociates.com>

 Date:  Tue, 1 Aug 2000 09:29:08 -0700
 To:  pepe(at)gainsay.com hwg-techniques(at)hwg.org
  todo: View Thread, Original

Hi Stephen,

How about using the FormatNumber function, so:

Response.Write(FormatNumber(CDbl(fltResult), number_of_decimal_places)
& "<br>") 

?

>--- Original Message ---
>From: Stephen Johnston <pepe(at)gainsay.com>
>To: hwg-techniques(at)hwg.org
>Date: 8/1/00 2:36:33 PM
>

>Hello Group-
>	
>	Can someone help me with this piece of VBScript?
>
>******** CODE *********
>
>	value = 63
>	custnum = 1
>	fltResult = CDbl(CDbl(custnum) / CDbl(value))
>	Response.Write(value & "
>")
>	Response.Write(custnum & "
>")
>	Response.Write(CDbl(fltResult) & "
>")
>
>***********************
>
>	What i get is:
>	63
>	1
>	1.58730158730159E-02
>
>	Anyone got any ideas how return the value without the scientific
notation?
>Or a way to get at the 'E' value?
>
>Thanks-
>Stephen Johnston
>
>
>

----------------
Sent from a WebBox - http://www.webbox.com
FREE Web based Email, Files, Bookmarks, Calendar, People and
Great Ways to Share them with Others!

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA