Records 1 to 20 of 26
|
» ADO
» Array » Components » Cookies » Date/Time » Files » Form » Graphics » HTML Formatting » Language » Math » Misc. » Multimedia » Performance » Printing and reports » Security » Sessions » SQL » Strings » XML |
Math ASP Scripts
ASP Script Home » Math
26 ASP Math Scripts
Sort: Most Viewed | Highest Rated | Newest
CalcArea FunctionThe CalcArea function calculates the area of objects. There are two required arguments: formula and values. The formula argument must be a string and the values argument must be an array. The following chart displays the acceptable values of the formula and values argument: formula ar...Added on: 12/7/2002 Hits: 4368 Rating: (3.03) votes 36
Pi FunctionThe Pi function returns a double representing the mathematical constant Pi. ...Added on: 12/7/2002 Hits: 5266 Rating: (3.06) votes 36
StandardToMetric FunctionThe StandardToMetric function converts a US Standard Measure into a Metric Measure. There are three required arguments: standardmeasure, conversion and extensiontype. arguments ============ Standardmeasure the US Standard measure to convert (This must be a number only) Conversion ...Added on: 12/5/2002 Hits: 6700 Rating: (3.00) votes 35
MetricToStandard FunctionThe MetricToStandard function converts a Metric Measure into a US Standard Measure. There are three required arguments: metricmeasure, conversion and extensiontype. arguments ============ metricmeasure the metric measure to convert into a US Standard measurement (This must be a nu...Added on: 12/2/2002 Hits: 5762 Rating: (3.00) votes 35
DegF FunctionThe DegF function returns the Fahrenheit equivalent of a Celcius temperature. Use the DegC Function to convert Fahrenheit to Celcius. ...Added on: 12/2/2002 Hits: 5603 Rating: (2.95) votes 41
DegC FunctionThe DegC function returns the Celcius equivalent of a Fahrenheit temperature. Use the DegF Function to convert Celcius to Fahrenheit. ...Added on: 12/2/2002 Hits: 5807 Rating: (2.97) votes 36
CBit FunctionCBit converts anything to an integer that is suitable for use with MS SQL Server bit fields. CBit ensures that a 1 or 0 will always be returned by the function, regardless of the data type or value of the input expression. CBit returns a 0 or 1 value based on the following criteria (see tabl...Added on: 12/2/2002 Hits: 5746 Rating: (3.06) votes 36
Nautical/Flight FunctionsThe Nautical/Flight functions perform various calculations useful for planning trips. The definitions and arguments of each function is below. miles per hour to knots ----------------------- function name: MPHToKt purpose: converts miles per hour to knots arguments: mph miles per hour a...Added on: 12/2/2002 Hits: 4673 Rating: (2.97) votes 36
DegK FunctionDegK allows a programmer to convert a Celcius temperature to a Kelvin temperature. To convert Fahrenheit temperatures to Kelvin, you must first convert Fahrenheit to celcius by using the DegC function: ...Added on: 12/2/2002 Hits: 7823 Rating: (3.03) votes 36
Format NumbersThe easiest way to demonstrate format numbers is just have some sample code that tries evry permutation of the command. ...Added on: 11/26/2002 Hits: 6924 Rating: (2.50) votes 56
ASP/SQL AverageNumberGenerates an average number from a set of records, this code was written for an Access DB, Great for getting an average rating which was what it was initially written for. ...Added on: 11/16/2002 Hits: 4629 Rating: (3.00) votes 36
RC4 ClassApplys Encryption/Decryption to strings. I think just about everyone who has seen my code knows how I love classes. This version is more cleaned up and thrown into a nice little class for an object oriented feeling. (If only ASP was object oriented, I would be a happy camper). It is also a little mo...Added on: 10/26/2002 Hits: 5768 Rating: (2.97) votes 36
Base 64 Encode / DecodeBase 64 encodeing is used to convert binary files to a ...Added on: 10/26/2002 Hits: 4652 Rating: (3.35) votes 49
Convert BytesThis code convert bytes into larger units such as kilobytes, megabytes, gigabytes, and terabytes. I use this with the FSO so that my users do not see a very large number that doesnt make any sense. ...Added on: 10/26/2002 Hits: 4405 Rating: (3.00) votes 31
GUID Generator - 26 CharactersThe purpose is to use in generating e-commerce Order numbers, memberids etc MS Site server commerce uses 26-Charcter Unique ID for Order number and membership numbers. I tried to generate the same kinda numbers using plain ASP. ServerObjects.com provides a object for generating GUID(globally unique ...Added on: 10/26/2002 Hits: 4514 Rating: (2.45) votes 55
Mortgage AmortizationCalculate mortgage info. Payment, Interest paid, Principal balance, in an amortization table ...Added on: 10/26/2002 Hits: 4953 Rating: (3.00) votes 58
Scripting.Decoder for Microsoft EncodingThis code lets you decode your scripts. It comes in handy if you deleted the original file or wrote over it with the encoded version. Microsoft included a program to encode, but choose not to let us decode with a scrdec program. More details can be found on my site about this script including a live...Added on: 10/26/2002 Hits: 4226 Rating: (3.11) votes 35
IsPrimeChecks to see if a number is a primary number. Prime numbers are commonly found in encryption schemes that use Public/Private keys. ...Added on: 10/26/2002 Hits: 4247 Rating: (3.02) votes 41
Convert Temperature ValuesConverts F to C and C to F...Added on: 10/23/2002 Hits: 4302 Rating: (2.95) votes 37
Number to DecimalConverts a base to decimal...Added on: 10/23/2002 Hits: 5333 Rating: (2.97) votes 36
Records 1 to 20 of 26
|