PDA

Click to See Complete Forum and Search --> : integer to decimal


raj2000
May 23rd, 2000, 09:58 PM
I am trying to change the reciving the following values into a asp page, which I have created using vbscript.

The values are as follows:

50545555

and

-00133333.

I want to change these values before processing them , to decimal values e.g

50545555 to be 50.545555

and -00133333 to be -001.33333.

What is the variable in vbscript will allow me to do this as I am not from a visual basic background.

Please help me on this.


thanks and regards


asap

Mark Sreeves
May 24th, 2000, 03:25 PM
is this any help?


<%@ Language=VBScript %>
<html>
<head>

</head><body>
<%
Response.Write(50545555 / 1000000)
Response.Write "<BR>"
Response.Write(-00133333 / 100000)

%>


</body>

</html>