You can examine the Classic ASP formatnumber function in detail with the code I will give you.
%
response.write(FormatNumber(40000))
%>
The output of the code above will be:
40,000.00
Setting number of decimals:
<%
response.write(FormatNumber(40000,2) & "")
response.write(FormatNumber(40000,5))
%>
The output of the code above will be:
40,000.00
40,000.00000
Fractional values with or without a leading zero:
<%
response.write(FormatNumber(.40,,0) & "")
response.write(FormatNumber(.40,,-1))
%>
The output of the code above will be:
.40
0.40
Negative values inside parentheses or not:
<%
response.write(FormatNumber(-40,,,0) & "")
response.write(FormatNumber(-40,,,-1))
%>
The output of the code above will be:
-40.00
(40.00)
Grouping numbers - or not:
<%
response.write(FormatNumber(4000000,,,,0) & "")
response.write(FormatNumber(4000000,,,,-1))
%>
The output of the code above will be:
4000000.00
4,000,000.00
Formatnumber ASP Classic Function video tutorial, Coding Archive video tutorial, Formatnumber ASP Classic Function Coding Archive tutorial, Formatnumber ASP Classic Function Coding Archive watch video, Formatnumber ASP Classic Function Coding Archive HD Video, You can examine the Classic ASP formatnumber function in detail with the code I will give you. Coding Archive sample video, You can examine the Classic ASP formatnumber function in detail with the code I will give you. Coding Archive video code , Formatnumber ASP Classic Function learning video, Formatnumber ASP Classic Function coding video