home *** CD-ROM | disk | FTP | other *** search
- <HTML>
- <FONT FACE="Comic Sans MS">
- <%
- Set STR=Server.CreateObject("NumStrings.StringClass")
- %>
- <CENTER>
- <H1>Number to String Converter</H1>
- The following table lists the checks our Accounting Department has processed today.
- <p>
- <TABLE BORDER>
- <TR>
- <TD WIDTH=250><B><FONT SIZE=+1>Pay to the order of<TD WIDTH=400><B><FONT SIZE=+1>The amount of<TD WIDTH=80>
- <TR>
- <TD>Computer Books, Inc.
- <TD>US$ <% =STR.LowerCaps(STR.Number2String(4325)) %><TD ALIGN=RIGHT> $4,325
- <TR>
- <TD>The Computer Pit
- <TD>US$ <% =STR.LowerCaps(STR.Number2String(255)) %><TD ALIGN=RIGHT> $255
- <TR>
- <TD>US Distributors
- <TD>US$ <% =STR.LowerCaps(STR.Number2String(6004)) %><TD ALIGN=RIGHT> $6,004
- <TR>
- <TD>Computer Books, Inc.
- <TD>US$ <% =STR.LowerCaps(STR.Number2String(1045)) %><TD ALIGN=RIGHT> $1,045
- <TR>
- <TD>Excelence Editing Services, Inc.
- <TD>US$ <% =STR.LowerCaps(STR.Number2String(103)) %> <TD ALIGN=RIGHT> $103
- <TR>
- <TD>P&P Printing
- <TD>US$ <% =STR.LowerCaps(STR.Number2String(5004)) %> <TD ALIGN=RIGHT> $5,004
- </TABLE>
- <P>
- <FONT SIZE=-1>
- </CENTER>
- The conversion of dollar amounts to strings was done with our new STRINGCLASS server component, developed by our MIS Department in Visual Basic.
- <P>
- The binary representation of the decimal value 7243 is <% =STR.IntegerToBinary(7243) %>.
-
- <% Set STR=Nothing %>
-
-
-