web 2.0

VB.NET & Log10()

VB.NET & Log10() - Log10() : If d is equal to NaN, thsi method returns NaN. If d is equal to PositiveInfinity, this method returns PositiveInfinity. Remarks. Parameter d is specified as a base 10 number.

ShotDev Focus:
- VB.NET & Log10()

Example

Log10.aspx

  1. <%@ Page Language="VB" %>  
  2. <%@ Import Namespace="System.Math"%>  
  3. <script runat="server">  
  4.   
  5. Sub Page_Load(sender As Object, e As EventArgs)  
  6. Me.lblText1.Text  = Log10(30.123456)  
  7. Me.lblText2.Text  = Log10(31.123456)  
  8. Me.lblText3.Text  = Log10(32.123456)  
  9. Me.lblText4.Text  = Log10(33.123456)  
  10. Me.lblText5.Text  = Log10(34.123456)  
  11. End Sub  
  12.   
  13. </script>  
  14. <html>  
  15. <head>  
  16. <title>ShotDev.Com Tutorial</title>  
  17. </head>  
  18. <body>  
  19. <form runat="server">  
  20. <asp:Label id="lblText1" runat="server"></asp:Label><br />  
  21. <asp:Label id="lblText2" runat="server"></asp:Label><br />  
  22. <asp:Label id="lblText3" runat="server"></asp:Label><br />  
  23. <asp:Label id="lblText4" runat="server"></asp:Label><br />  
  24. <asp:Label id="lblText5" runat="server"></asp:Label><br />  
  25. </form>  
  26. </body>  
  27. </html>  

Screenshot

VB.NET & Log10()
.
.
.
Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (No Ratings Yet)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.