ASP/VBScript Fix() Returns the integer portion of a number.
ShotDev Focus:
- Using Asp and Fix() function.
Example
asp_fix.asp
<% Option Explicit %> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <% Response.write Fix(30.7890546)&"<br>" Response.write Fix(25.567890)&"<br>" Response.write Fix(32.987654)&"<br>" Response.write Fix(33.123456)&"<br>" Response.write Fix(29.345678)&"<br>" %> </body> </html>
Create a asp file and save to path root-path/myasp/
Run
http://localhost/myasp/asp_log.asp
Screenshot